
-
AuthorPosts
-
August 10, 2020 at 11:09 pm #1236537
Can I have the breadcrumbs bar stick to the main header bar? And can I make the height dimension smaller?
August 12, 2020 at 5:03 am #1236811Hey Kaleidoscope_Advertising_and_Design_Inc,
I’m not sure if that would be possible, but send us a link to where we can see the element in question and we’ll have a closer look at it.
Best regards,
RikardAugust 27, 2020 at 11:58 pm #1241328Hi Rikard,
See the page at this link: < https://hunter-cpa.ca/services/ >
August 28, 2020 at 3:43 am #1241371Hi Kaleidoscope_Advertising_and_Design_Inc,
Please add this CSS code in Quick CSS, located in Enfold > General Styling:
#top #main { position: relative; } #top #main .stretch_full.title_container { position: fixed; top: 147px; width: 100%; z-index: 320; }
Best regards,
NikkoSeptember 1, 2020 at 4:43 pm #1242553Thank you! That’s worked! Beautiful!
September 1, 2020 at 6:23 pm #1242571Hold that thought!
When i placed the code into the Theme I adjusted the “top” setting so that the breadcrumbs bar “sticks” to the the bottom edge of the ‘masthead’ bar (with the logo on the left). However, with that setting, the breadcrumbs bar floats well below the same ‘masthead’ on the tablet…
Suggestions?
September 1, 2020 at 6:25 pm #1242572Same problem is on the i-phone
September 2, 2020 at 8:19 am #1242706Hi Kaleidoscope_Advertising_and_Design_Inc,
You can change the top values for different devices:
Ipad Landscape Mode (add this):@media only screen and (max-width:1024px) { #top #main .stretch_full.title_container { top: 147px; } }
Ipad Portrait Mode (add this):
@media only screen and (max-width:959px) { #top #main .stretch_full.title_container { top: 122px; } }
Mobile Device (add this):
@media only screen and (max-width:767px) { #top #main .stretch_full.title_container { top: 142px; } }
Best regards,
Nikko-
This reply was modified 4 years, 9 months ago by
Nikko.
September 2, 2020 at 5:17 pm #1242872Thank you for this.
I noticed that iPad landscape and portrait codes are the same. Is this correct or should there be a different value for one of them?
September 2, 2020 at 10:22 pm #1242923Hi Kaleidoscope_Advertising_and_Design_Inc,
I apologize for that, this is the right one for iPad portrait mode:
@media only screen and (max-width:959px) { #top #main .stretch_full.title_container { top: 122px; } }
Best regards,
Nikko-
This reply was modified 4 years, 9 months ago by
Nikko.
September 3, 2020 at 8:45 pm #1243159Hi,
Thank you for the code.
However I’ve changed the value of < top: XXXpx; > in all three instances but the “breadcrumbs bar” still floats below the header bar instead of “attached to it”. The “breadcrumbs bar” did not change position in the iPad or iPhone when I changed the values.
A note on the mobile phone specifically:
Actually, on the mobile phone the header bar does not “stick” to the top of the screen anyway. It it goes out of sight as the user scrolls up. Too what is needed to fix the breadcrumbs bar to the masthead on mobile phones?September 4, 2020 at 4:44 am #1243200Hi Kaleidoscope_Advertising_and_Design_Inc,
I apologize again, I haven’t added the selectors (I have fixed the code above) but I’ll rewrite it again (remove the media queries I gave last time) and use this one instead:
@media only screen and (max-width:1024px) { #top #main .stretch_full.title_container { top: 147px; } }
Ipad Portrait Mode (add this):
@media only screen and (max-width:959px) { #top #main .stretch_full.title_container { top: 122px; } }
Mobile Device (add this):
@media only screen and (max-width:767px) { #top #main .stretch_full.title_container { top: 142px; } }
Best regards,
NikkoSeptember 4, 2020 at 3:52 pm #1243412Hi Nikko,
Thank you for this: it’s getting better.
For the I-Pad
Landscape — works
Portrait — the breadcrumbs bar floats under the Header bar. It doesn’t change position when I adjust the “top” value.
Also: It does look like it will “stick” to the correct position at the top of the screen when scrolling, but the masthead slips away. Is there something needed for the masthead in portrait mode?For the mobile phone
Landscape & Portrait
The breadcrumbs bar can be made to sit in the correct position, but does not stick to the Masthead.
– I’ve an idea here: If the masthead in the mobile phone env can’t be made to stick to the top of the screen can the breadcrumbs bar be made to stick to the top of the screen?September 7, 2020 at 6:40 am #1243855Hi Kaleidoscope_Advertising_and_Design_Inc,
I have checked your site and I don’t see any changes.
Since the breadcrumbs bar as you mentioned floats, it should also change location when you change the top value, the issue most likely is due to caching.
Please try to flush out the cache.Best regards,
NikkoSeptember 13, 2020 at 12:28 am #1245438I took the code out when we launched last week. I’ll try the code again and clear the cache.
September 14, 2020 at 5:13 am #1245624Hi Kaleidoscope_Advertising_and_Design_Inc,
Thanks, just let us know it goes.
Best regards,
Nikko -
This reply was modified 4 years, 9 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.