Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • shedsolutions Friend
    #202683

    Hi there,

    We would like to decrease the padding to the right of the main menu so we can fit more menu items across without them being bumped to the next line (see photo).

    How can we decrease this padding amount?

    shedsolutions Friend
    #555119

    Actually, it would be great if the template would automatically hide the mega menu and show the mobile menu once it detects the mega menu will not fit on one line.

    Is there a way to accomplish this?

    Adam M Moderator
    #555178

    Hi,

    Please open file root_folder/templates/uber/css/custom.css (if you don’t have this file, just create a new one) then add this code :

    @media (max-width: 1200px) {
    #t3-mainnav {
    display: none;
    }
    }

    Save your file and recheck.

    gclauss Friend
    #560555

    I tried this on my site for the same problem (Menu 2 lines) and it didn’t work? Is this code still valid for Uber?

    ******************************************
    @media (max-width: 1200px) {
    #t3-mainnav {
    display: none;
    }
    }

    ******************************************
    http://www.alva-labs.com

    Thanks!

    Adam M Moderator
    #560672

    Hi @gclauss,

    Please open file custom.css and add this code :


    @media (min-width: 1335px) {
    #t3-header #t3-mainnav {
    width: 79%;
    }
    #t3-header .site-navigation-right {
    width: 10%;
    }
    }
    @media (max-width: 1335px) {
    #t3-header #t3-mainnav {
    display: none;
    }
    }

    gclauss Friend
    #560719

    Perfect, thanks Adam. Once again.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 3 voices, and was last updated by  gclauss 9 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum