Archived topic
Mobile menu
29 replies · Started by Pedro on March 14, 2019
Can you re-add the code so I can see?
Hello Tom!
I added the code again
To remove the 0, add this CSS:
.number-of-items.no-items {
display: none;
}
Do you just want the search and cart to switch places?
Hello Tom!
Yes, what I want is for icons to be displayed as default: Search / Cart
Thank you!
Try:
@media (max-width: 768px) {
.inside-navigation {
display: flex;
}
.main-navigation .menu-toggle {
order: -1;
margin-right: auto;
}
}
.main-navigation li.search-item {
float: left;
}
Hello David! It worked but only for the mobile version.
Edited above to include desktop
Hello david!
It worked very well Thank you!!
You're welcome
Hello David!
I just realized that this CSS code affects the menu display in the mobile version.
I send you a screenshot so you can see: https://www.dropbox.com/s/gnwvjwytypuggpi/IMG_2321.PNG?dl=0
Did you remove the search for now? Any chance you can add it back? I should be able to fix the above.
Let me know :)
Hello Tom!
I have already activated the search icon.
I'm waiting for your message.
Try this:
@media (min-width: 769px) {
.main-navigation li.search-item {
float: left !important;
}
}
@media (max-width: 768px) {
.inside-navigation {
display: flex;
flex-wrap: wrap;
}
.main-navigation .menu-toggle {
order: -1;
margin-right: auto;
}
.main-nav {
flex: 1 0 100%;
}
}
Hello david! I give this ticket as resolved. Thank you!
Awesome - glad we got there :) i had to refuel with coffee lol