Site logo

Archived topic

Mobile menu

29 replies · Started by Pedro on March 14, 2019

Viewing posts 16–30 of 30

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

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

This archived topic is closed to new replies.