-
AuthorPosts
-
May 3, 2023 at 9:40 pm #1406390
Hi
I have the header set to transparency mode with changing colors when scrolling down (which are the same colors as in mobile view).
I managed to bring the position of the logo to the front (z-index:0) in mobile view (in transparency mode the whole logo is by default fully visible) but I could not figure out which is the right css code for bringing it up front also in scrolling mode. Can you help me here?
Thanks in advance
regards,
VerenaMay 4, 2023 at 7:49 pm #1406478Hey landhausaustria,
Please link to your page so we can examine it and make a recommendation.Best regards,
MikeMay 4, 2023 at 8:18 pm #1406481This reply has been marked as private.May 5, 2023 at 1:05 am #1406490Hi,
Thank you for the link to your site, when I check your logo it hangs out of the header and over the page content on desktop and mobile, please see the screenshots in the Private Content area.
As I read your original post again you seem to be asking about the scrolling mode of the mobile header, but on mobile devices the header is not sticky or fixed by default and I don’t see any customization to make the mobile header fixed, is this what you are asking for?
If so try this css:@media only screen and (max-width: 767px) { .html_header_sticky.html_mobile_menu_tablet #top #wrap_all #header, .html_header_sticky.html_header_transparency #top #wrap_all #header, .html_header_sticky #top #wrap_all #header { position: fixed; } .html_header_sticky #top #header_main .container, .html_header_sticky #top .main_menu ul:first-child>li a { height: inherit !important; line-height: inherit !important; } .html_header_sticky #top #wrap_all #main { padding-top: 119px !important; } }
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.Best regards,
MikeMay 9, 2023 at 11:43 pm #1406945Hi Mike
thank you so much for your reply and suggestion. I am in fact asking about the scrolling mode of the desktop header, not the mobile header. I am satisfied with the mobile header just as it i, especially with the overlapping logo. I want the logo to be as overlapping as in mobile view when scrolling down on desktop.The lower part of the logo seems to remain overlapping but the “head” of the logo gets covered by the small header (green). (Please see image below)
Thanks again for your advise
Regards, VerenaMay 10, 2023 at 12:23 am #1406948Hi,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#header #header_meta { z-index: 1; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeMay 10, 2023 at 7:57 pm #1407043Thank you so much Mike, now its working as expected :-)
We can close this one thx
Regards,
VerenaMay 11, 2023 at 6:07 am #1407074 -
AuthorPosts
- The topic ‘How to make changes in header in scrolling mode’ is closed to new replies.