Site logo

[Support request] Different submenu width in mobile and desktop

Home Forums Support [Support request] Different submenu width in mobile and desktop

Home Forums Support Different submenu width in mobile and desktop

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2489612
    Ree

    I want a different width for submenu in mobile and desktop, however when I save it saved both. Any other ways to achieve this please?

    https://prnt.sc/I1i-BT1CIA5y

    #2489642
    Fernando
    Customer Support

    Hi Ree,

    You can use custom CSS.

    For reference, can you provide the link to the site in question? We’ll check what CSS is needed.

    You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2489664
    Ree

    in the mobile submenu it should be width of 120px
    while in the desktop it should be 230px width

    #2489679
    Fernando
    Customer Support

    I see. With your current structure, can you try adding this through Appearance > Customize > Additional CSS?:

    @media (min-width: 1025px) {
        div#primary-menu ul.sub-menu {
            width: 230px;
        }
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.