- This topic has 9 replies, 4 voices, and was last updated 5 years, 7 months ago by
Tom.
-
AuthorPosts
-
August 27, 2020 at 4:07 am #1420139
Anonymous
Hello,
I am trying to place mobile menu with sandwitch on my top navigation bar but does not seem to be working. Can you please tell me how to do it?
Thanks!
August 27, 2020 at 5:04 am #1420197David
StaffCustomer SupportHi there,
You have this CSS added in your customizer > additional CSS:
.main-navigation .inside-navigation .menu .slideout-toggle, button.menu-toggle, .slideout-overlay { display: none !important; }DELETE that
August 27, 2020 at 7:14 am #1420398Anonymous
Hello David,
I deleted CSS code you point out and now sandwich menu is showing but, it is showing double, how I can remove extra one? Also, how I can show sandwich menu icon to show on the left side at the beginning and also do the same on the right side to the end for search icon?
Because I don’t find option on customizer.
Thanks!
August 27, 2020 at 8:23 am #1420663David
StaffCustomer SupportAdd this CSS:
@media(max-width: 768px) { /* remove secondary nav on mobile */ #secondary-navigation { display: none; } /* Position toggle left */ .main-navigation .menu-toggle { order: -1 !important; margin-right: auto; } /* Center Branding */ .navigation-branding { position: absolute; left: 50%; top: 0; transform: translatex(-50%); } }August 27, 2020 at 8:40 am #1420705Anonymous
Thanks David, I added CSS code you recommend and it seems it removed double one, now how I can place sandwich menu icon to the left and place it to the left start and search icon to the right end?
Thanks,
Sara
August 27, 2020 at 8:44 am #1420712Leo
StaffCustomer SupportLooks like it’s already like that?
Toggle on the left and search on the right?
https://www.screencast.com/t/yLy6hmgfNAugust 27, 2020 at 11:45 am #1420891Anonymous
Hello Leo,
For mobile is showing like that but, for tablet and desktop is not. How can I set it up so, it shows like that for tablet and desktop too?
Thanks!
August 27, 2020 at 2:05 pm #1421037Tom
Lead DeveloperLead DeveloperHi there,
This should do it:
@media (min-width: 769px) { #primary-menu .slideout-toggle { position: absolute; left: 0; top: 0; } #primary-menu .search-item { position: absolute; top: 0; right: 0; } }September 3, 2020 at 1:03 pm #1429841Anonymous
Thanks a lot Tom
September 3, 2020 at 2:14 pm #1429926Tom
Lead DeveloperLead DeveloperYou’re welcome 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.