Site logo

Archived topic

Wonder how can I achieve specific MOBILE Menu Layout for WooCommerce ?

3 replies · Started by Kiril on December 2, 2019

Viewing posts 1–4 of 4

Hi there,

I am trying to re-create some MOBILE only WooCommerce menus, but I am having hard time achieving it.

Can you let me know how I can achieve any of these 3 examples here - MOBILE HEADERS

Thanks in advance

Hi there.

#3 pretty simple to do something similar:

1. Enable the Mobile Header in Customizer > Layout > Header.
2. Enable navigation search in Layout > Primary Navigation.
3. Add this CSS:

#mobile-header .menu-toggle {
    order: -2;
}
#mobile-header .mobile-bar-items:not(.wc-mobile-cart-items) {
    order: -1;
    margin-right: auto;
}

#mobile-header .navigation-branding {
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
    margin-left: 0;
}

That was perfect.

Awesome. thanks a lot

Glad to be of help

This archived topic is closed to new replies.