How to organize the items on a menu differently for the mobile version.

This topic has 5 replies, 3 voices, and was last updated 1 week, 3 days ago ago by Tony Rodriguez

  • Avatar: Brunos
    Brunos
    Participant
    January 16, 2026 at 15:21

    I am satisfied with the layout of the items in my desktop menu. Here is the CSS code I am using (help-07a.jpg):

    /* Menu */
    #menu-language{
    border-top-left-radius:14px;
    border-top-right-radius:14px;
    border-bottom-left-radius:14px;
    border-bottom-right-radius:14px;
    box-shadow:none;
    }

    /* Menu Item */
    #menu-language .menu-item{
    height:31px;

    }

    But I want the layout of these elements (flags) to be different for the bottom menu in the mobile version.
    I managed to add some CSS code, but it’s not perfect. The grid alignment is fine, but there’s a problem with the text being hidden on the right.
    I would like the text corresponding to each flag to be placed below the flags (help-07b.jpg).
    Here is the CSS code I am currently using:

    /* Bruno Menu Language Mobile Bottom */
    /* Grille uniquement sur mobile */
    @media (max-width: 768px) {
    /* Menu langues en grille sur mobile */
    ul#menu-lang-1,
    .menu-lang-1,
    ul.menu {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    grid-gap: 10px !important;
    padding: 20px !important;
    list-style: none !important;
    }

    /* Items du menu */
    ul#menu-lang-1 li,
    .menu-lang-1 li {
    width: 80px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    }

    /* Images drapeaux */
    ul#menu-lang-1 img {
    max-width: 50px !important;
    max-height: 50px !important;
    }
    }

    /* 649px and smaller screen sizes */
    @media (max-width:649px){

    /* Barre de recherche radius */
    .et-mobile-panel .active .et-overflow-hidden{
    border-top-left-radius:14px;
    border-top-right-radius:14px;
    border-bottom-left-radius:14px;
    border-bottom-right-radius:14px;
    border-color:#eaedf2;

    }

    }

    Any ideas please?
    Regards

    Content is visible for topic creator and
    support staff only.
    Files is visible for topic creator and
    support staff only.
    4 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 16, 2026 at 21:38

    Hello @Brunos,

    Please try adding the following custom CSS:

    .et-mobile-panel #menu-language-1 a.type-img {  
        flex-direction: column;  
    }

    You can view the frontend result here: https://prnt.sc/WnZ4oLLwvapk

    If you would like a different layout, please provide detailed clarification along with screenshots or videos showing the desired result.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: Brunos
    Brunos
    Participant
    January 17, 2026 at 09:43

    This is perfect. Thnak you very much!

    Avatar: Brunos
    Brunos
    Participant
    January 17, 2026 at 09:43

    Thanks for the support! My topic “How to organize the items on a menu differently for the mobile version.” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    January 17, 2026 at 09:43

    Dear Brunos,

    Thanks for being part of our WordPress & WooCommerce community!

    We’re happy we could assist you. Your feedback truly matters — it helps us make XStore better, faster, and more reliable with every release.

    Together, we’re shaping a better WooCommerce experience for everyone.

    Topic closed.
    The 8Theme Team

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘How to organize the items on a menu differently for the mobile version.’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.