Hi
Used the flexbox header code provided at https://kriesi.at/documentation/enfold/example-of-widget-left-logo-center-widget-right-menu-below/
Happy with the Desktop header (the way it looks and the fact it is fixed) but I need some help, please, with the mobile / tablet.
Issues are:
– We don’t want the header fixed for Mobile / Tablet but I can’t seem to sort it properly.
– Is it possible to have the order to be different on mobile – so Logo & menu (on one line), Widget, Widget?
Many thanks
John
Hey JohnMYates,
Thank you for the inquiry.
– We don’t want the header fixed for Mobile / Tablet but I can’t seem to sort it properly.
You should wrap this css code inside a css media query so that it only affects the desktop view.
.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;
}
Replace it with:
@media only screen and (min-width: 1024px) {
.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;
}
}
This should also work for the second issue.
Best regards,
Ismael
Thanks Ismael!
regards
John
Hi,
Did you need additional help with this topic or shall we close?
Best regards,
Jordan Shannon
Hi Jordan
Thanks – we can close this.
regards
john
Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon