Search found 20 matches

by DarioMartin
Fri Oct 06, 2023 2:43 pm
Forum: Responsive Web Design
Topic: Force line break in Responsive Menu
Replies: 7
Views: 2648

Re: Force line break in Responsive Menu

No I get that - but the text is specified with a <br> tag i.e. "Therapies<br>& Other Services", "Workshops<br>& Events" etc etc. On the full size and 768 menu's they all break, but on 320 it's only the entries that have a down arrow So it appears that only the entries wit...
by DarioMartin
Fri Oct 06, 2023 2:08 pm
Forum: Responsive Web Design
Topic: Force line break in Responsive Menu
Replies: 7
Views: 2648

Re: Force line break in Responsive Menu

Thank you Gentlemen. OK, Pablo, I tried your solution first - sadly it made no difference, however I then instead tried the solution offered by Crispy68 and ... SUCCESS - that works perfectly (set line height to 20 px instead of 30 though) Now that it breaks correctly, I notice something I didn't se...
by DarioMartin
Fri Oct 06, 2023 12:21 pm
Forum: Responsive Web Design
Topic: Force line break in Responsive Menu
Replies: 7
Views: 2648

Force line break in Responsive Menu

I have a site where some of the headings in the responsive menu are long. For Example "Yoga Classes & Information". At the moment, I force this to break across two lines so as to keep the menu all on one line by using the "<br>" tag. e.g. "Yoga Classes<br> & informat...
by DarioMartin
Wed Nov 03, 2021 6:03 pm
Forum: Responsive Web Design
Topic: Responsive menu - issues
Replies: 18
Views: 9216

Re: Responsive menu - issues

... Well well well... THANK YOU - now works perfectly across all break points!!

Many many thanks :D
by DarioMartin
Wed Nov 03, 2021 5:23 pm
Forum: Responsive Web Design
Topic: Responsive menu - issues
Replies: 18
Views: 9216

Re: Responsive menu - issues

Yes - the <style> tags are between the <head> </head> tags Heres the last few lines of the <head> page HTML <script> $(document).ready(function() { $("#wb_EEF_ResponsiveMenuES ul li a").click(function(event) { $("#wb_EEF_ResponsiveMenuES input").prop("checked", false); ...
by DarioMartin
Wed Nov 03, 2021 2:40 pm
Forum: Responsive Web Design
Topic: Responsive menu - issues
Replies: 18
Views: 9216

Re: Responsive menu - issues

On its own between the style tags - does nothing - not even breaking the long (Spanish) line. In conjunction with word-break (i.e. display: inline-block; and word-break: break-word;, causes long Spanish line to break at same point as last message, but "<br>" tag still being completely igno...
by DarioMartin
Wed Nov 03, 2021 12:25 pm
Forum: Responsive Web Design
Topic: Responsive menu - issues
Replies: 18
Views: 9216

Re: Responsive menu - issues

Thanks for that - have tried both but Hamburger type menu resolutely refuses to recognise <br> I must stress though that at 768 and 1250, the <br> is recognised in the menu and inserts a new line at point specified - it is ONLY when menu breaks to hamburger at 320px does <br> cease to be recognised
by DarioMartin
Wed Nov 03, 2021 11:03 am
Forum: Responsive Web Design
Topic: Responsive menu - issues
Replies: 18
Views: 9216

Re: Responsive menu - issues

... Better ... in that on the Spanish Version (I have a dual language site) " ¡Compra ahora!<br>Compra nuestros productos online " now displays as ¡Compra ahora!Compra nuestros product os online So in that respect it doesn't run off the edge of the menu, but in 320 breakpoint (and only 320...
by DarioMartin
Wed Nov 03, 2021 10:36 am
Forum: Responsive Web Design
Topic: Responsive menu - issues
Replies: 18
Views: 9216

Re: Responsive menu - issues

Good morning, please excuse me tagging onto this thread, but I have come up against an issue in a CSS Responsive Menu that I am not sure how to resolve. I have some long(ish) text in my Responsive Menu, so I am using the <br> tag to break it across two lines. for example " Shop Now!<br>Buy our ...
by DarioMartin
Thu Sep 17, 2020 12:51 pm
Forum: Previewing and Publishing
Topic: Issue with layer WB16
Replies: 1
Views: 3670

Issue with layer WB16

I have a website, that because of the way the menu is laid out uses a slight opacity in the 768 / 1250 breakpoint layer that holds the responsive menu and no opacity in the 320 breakpoint menu (it is a responsive menu that syncs to the 768 / 1250 responsive menu) In WB15x64, I had no issue at all. T...
by DarioMartin
Thu Feb 27, 2020 10:14 am
Forum: Links and Navigation
Topic: Opening specific panel in accordion bootstrap when there is a bookmark in it
Replies: 19
Views: 12656

Re: Opening specific panel in accordion bootstrap when there is a bookmark in it

Beings my accordion is itself set within a layer which displays in the content place holder of a master page, I also did a very very simple "site" using only two basic pages to see if it was the layout of my site causing issues; one page with nothing but a simple text menu, one with a stra...
by DarioMartin
Wed Feb 26, 2020 6:36 pm
Forum: Links and Navigation
Topic: Opening specific panel in accordion bootstrap when there is a bookmark in it
Replies: 19
Views: 12656

Re: Opening specific panel in accordion bootstrap when there is a bookmark in it

Yes, selected it as the bookmark in the menu. have just given myself a crash course on jQuery to better understand the statements. This is the declaration between <head> tags <script> $(document).ready(function() { var hash = window.location.hash; var anchor = $(hash); if (anchor.length > 0) { ancho...
by DarioMartin
Wed Feb 26, 2020 11:37 am
Forum: Links and Navigation
Topic: Opening specific panel in accordion bootstrap when there is a bookmark in it
Replies: 19
Views: 12656

Re: Opening specific panel in accordion bootstrap when there is a bookmark in it

Many thanks for your time and effort on this - I appreciate you aren't really here to discuss non-generated code; it is only that this particular function would be incredibly useful on the accordion object. As it stands, even using the code as supplied, I cannot get it to open the tab, using WB 15.3...
by DarioMartin
Tue Feb 25, 2020 12:54 pm
Forum: Links and Navigation
Topic: Opening specific panel in accordion bootstrap when there is a bookmark in it
Replies: 19
Views: 12656

Re: Opening specific panel in accordion bootstrap when there is a bookmark in it

So it doesn't need to be within a function() or within <script> tags?
by DarioMartin
Tue Feb 25, 2020 11:50 am
Forum: Links and Navigation
Topic: Opening specific panel in accordion bootstrap when there is a bookmark in it
Replies: 19
Views: 12656

Re: Opening specific panel in accordion bootstrap when there is a bookmark in it

I understand you cannot teach me how to write custom code; being a C / COBOL programmer, I am acquainted with writing code. What I cannot fathom, is within the restrictions of the program, using Edit Page HTML, how the code snippet supplied has been inserted following the declaration of the function...
by DarioMartin
Tue Feb 25, 2020 10:14 am
Forum: Links and Navigation
Topic: Opening specific panel in accordion bootstrap when there is a bookmark in it
Replies: 19
Views: 12656

Re: Opening specific panel in accordion bootstrap when there is a bookmark in it

Good morning, many thanks for your response. I have added the extra code after <head> and before body : <script> $(function() { var hash = window.location.hash; var anchor = $('a[href$="'+hash+'"]'); if (anchor.length > 0){ anchor.click(); } } </script> This is because I cannot insert it i...
by DarioMartin
Tue Feb 25, 2020 9:29 am
Forum: Links and Navigation
Topic: Opening specific panel in accordion bootstrap when there is a bookmark in it
Replies: 19
Views: 12656

Re: Opening specific panel in accordion bootstrap when there is a bookmark in it

I'm fairly familiar with the HTML object, having used it in various websites I've put together using WYSIWYG, unfortunately it won't allow me to modify the code generated. In the example given here by Pablo, the actual code for the Accordion object is modified above the <body> tag. This would normal...
by DarioMartin
Mon Feb 24, 2020 8:43 pm
Forum: Links and Navigation
Topic: Opening specific panel in accordion bootstrap when there is a bookmark in it
Replies: 19
Views: 12656

Re: Opening specific panel in accordion bootstrap when there is a bookmark in it

Can anyone advise how the extra code is inserted in the Accordion code - its not using the Edit Object HTML and I can't seem to do it editing Page HTML - anyone help me here?