-
AuthorPosts
-
October 5, 2023 at 7:47 pm #1421537
Hi,
I am trying to figure something out with the top menu bar at http://www.coloradorunnerevents.com.1. When I am look at my website, it looks perfect on my desktop. But, on mobile it pretty much takes up the whole screen. So, how can I just remove it on mobile? I can’t seem to find a setting for that. See screenshot below:
Mobile: https://www.coloradorunnerevents.com/wp-content/uploads/2023/10/capture3.png
2. When I am logged into my website, it looks perfect on my desktop. When I look at my website when I am logged out, it pushes the menu down overtop of the screen. See screen shots below:
Logged in: https://www.coloradorunnerevents.com/wp-content/uploads/2023/10/Capture.jpg
Logged out: https://www.coloradorunnerevents.com/wp-content/uploads/2023/10/Capture2.jpgCan you help me figure out why the top menu is doing that when I am logged out? This is on Firefox, but it is the same on other browsers.
October 6, 2023 at 7:24 pm #1421684Hey prerules,
Thank you for the link to your site, it looks like right now you have the top bar disabled so I’m not seeing it at all. But from your screenshots it looks like you are showing a secondary menu in the top bar. If you want to hide it on mobile we can offer some css to do so, with eight menu items it will show as multiple lines.
We could also help you show only two or three menu items on mobile so your most important items will show.
As for the difference between your logged in and out views, I think that this maybe related to a caching plugin, are you using one? Try disabling it and check again, if not please include an admin login in the Private Content area so we can check and be of more assistance.Best regards,
MikeOctober 6, 2023 at 9:20 pm #1421707Thanks!
I am using WP Rocket as a cache plugin. When I turn it off, the problem on the desktop with logged in vs. logged out goes away. So, that was the problem. Now I just need to figure out how to keep the plugin on, but not mess up the headers.
As for mobile, I would like to just not show it. I can create a mobile specific menu that shows both menus for that.October 7, 2023 at 2:06 pm #1421743Hi,
Thank you for the link to your site, I enabled the WP Rocket to see what could be the cause for the topbar menu error, and it seems to be the WP Rocket setting “Optimize CSS delivery” I disabled this and tested your homepage with Windows in Chrome, Firefox, & Edge in a separate logged out window and this seems to have solved the issue. Please clear your browser cache and check. I would not worry about this option because you are using the theme option Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression which should be the same thing, sometimes using two options to do the same thing can cause errors.
To disable the topbar on mobile I added this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:@media only screen and (max-width: 980px) { #header_meta { display: none; } }
I choose 980px because that is when your topbar started doubling up, if you want to change it to when the burger menu is not shown, try changing it to 990px.
Best regards,
MikeOctober 7, 2023 at 4:32 pm #1421751Thanks!! This worked perfectly. I changed it to 990 and switched to a different menu for mobile, which is how I wanted to make it work.
October 7, 2023 at 4:47 pm #1421754Hi,
Glad we were able to 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 ‘Top menu bar problems’ is closed to new replies.