-
AuthorPosts
-
June 10, 2024 at 9:45 pm #1448815
Hi,
I need to keep the full menu as is on mobile, not switch to the burger menu. I would also like it to stick on top of the page, like the phone number, on the desktop page.
It is a way for me to increase sales by letting the BOOKING menu be visible at all time.
please help.
AlexandreJune 11, 2024 at 5:05 am #1448862Hey joshuati,
Thank you for the inquiry.
This is possible, but there won’t be enough space for the menu items. We may need to decrease the size of the logo or the font size of the menu items. If that is acceptable, you can start with this css code:
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .responsive #top .av-main-nav .menu-item-avia-special { display: none; } .responsive #top .av-main-nav .menu-item { display: inline; } .responsive .logo img, .responsive .logo svg { margin: 0; max-height: 40px !important; margin-left: -20px; } }
Best regards,
IsmaelJune 11, 2024 at 9:59 am #1448877Hi Ismael,
is it possible to make it sticky? because the menu is not sticky now.
When I scroll down the menu is disappearing.
Thank you.June 11, 2024 at 12:38 pm #1448894Hi,
Please try adding this as well inside of the media query posted by Ismael.
.header-scrolled #header_main { position: fixed; width: 100%; background: black; top: 0; }
Best regards,
RikardJune 11, 2024 at 2:31 pm #1448898Hi Rikard,
I tried but it has no effects, sorry.
AlexandreJune 11, 2024 at 8:30 pm #1448926Hi,
Does your full code block look this now?
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .responsive #top .av-main-nav .menu-item-avia-special { display: none; } .responsive #top .av-main-nav .menu-item { display: inline; } .responsive .logo img, .responsive .logo svg { margin: 0; max-height: 40px !important; margin-left: -20px; } .header-scrolled #header_main { position: fixed; width: 100%; background: black; top: 0; } }
Best regards,
RikardJune 12, 2024 at 9:33 am #1448975Yes, it’s exactly that, and it still doesn’t work, sorry.
June 12, 2024 at 10:28 am #1448984Hi,
Thank you for the update.
There was an extra curly brace in the Quick CSS field, making the code invalid. We removed the curly brace and temporarily disabled the Enfold > Performance > File Compression settings. Please make sure to purge the cache before checking the page.
Best regards,
IsmaelJune 12, 2024 at 10:33 am #1448986Hi Ismael,
I tried on all the mobiles I got home, even with using the different navigator and purging, it still doesn’t stick :(June 12, 2024 at 11:01 am #1448989Can you make the link to your site public? I will then try to create a CSS for you.
I have also implemented the sticky header on my test page. LinkJune 12, 2024 at 11:03 am #1448990June 12, 2024 at 11:10 am #1448991the point is that on emulators ( developer tools of all my desktop browsers ) your mobile menu is sticky and fullwidth on screen width less than 767px.
But on a real mobile device, the header scrolls out of the screen.
It is hard to check – because on most cases – the css rules to make are built with dev tools.
…
June 12, 2024 at 11:26 am #1449001between 768 and 989px – do you like to have a burger or a full menue too?
header_meta – should scroll away or stay visible too?June 12, 2024 at 11:30 am #1449004I want the menu always visible. No burger. Because it is targeted at our customers, to book on their phone, tablet…..
So the logo/menu/phone should stay there. Like your site.June 12, 2024 at 12:20 pm #1449018June 12, 2024 at 3:27 pm #1449067thank YOU!
June 12, 2024 at 4:36 pm #1449083Hi,
Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘I need my full menu on mobile’ is closed to new replies.