Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • infinart Friend
    #206917

    Hello,

    I want to decrease the gap between the main menu items so I can fit more on. At the moment the menu falls off.

    I have inspected the element and found:

    .uber-header.header-4.light-color .navbar-default .navbar-nav > li > a {
    text-transform: none;
    padding-left: 0;
    padding-right: 52px;
    font-weight: 700;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;

    I changed the padding-right: 32px; and that makes all the menu items fit. But, I can’t find where to change this in the code.

    What file do I edit? And what to I change/add?

    Thanks.

    Pankaj Sharma Moderator
    #572907

    Hi
    Can u share your working site url here ,
    so i can give you exact path for this .
    You can also override the code via Custom.css file .
    Add the Css code in custom.css
    like this :

    .uber-header.header-4.light-color .navbar-default .navbar-nav > li > a {
    padding-right: 32px!important;
    }

    If it does not help please share your site url.

    Pankaj Sharma Moderator
    #737941

    Hi
    Can u share your working site url here ,
    so i can give you exact path for this .
    You can also override the code via Custom.css file .
    Add the Css code in custom.css
    like this :

    .uber-header.header-4.light-color .navbar-default .navbar-nav > li > a {
    padding-right: 32px!important;
    }

    If it does not help please share your site url.

    infinart Friend
    #573045

    I tried that, but it didn’t work. scientology.org.au is the website.
    Thank you in advance

    infinart Friend
    #738078

    I tried that, but it didn’t work. scientology.org.au is the website.
    Thank you in advance

    Pankaj Sharma Moderator
    #573076

    Hi
    This code should work on custom.css


    .uber-header.header-4.light-color .navbar-default .navbar-nav > li > a {
    padding-right: 32px!important;
    }

    I checked this code via firebug on your site and its working fine .
    I have found the above code in your custom.css file .
    If you will provide temp. backend login i can add this for you .

    Pankaj Sharma Moderator
    #738109

    Hi
    This code should work on custom.css


    .uber-header.header-4.light-color .navbar-default .navbar-nav > li > a {
    padding-right: 32px!important;
    }

    I checked this code via firebug on your site and its working fine .
    I have found the above code in your custom.css file .
    If you will provide temp. backend login i can add this for you .

    infinart Friend
    #573508

    That did it! Thank you.
    What would I add if I wanted the menu center aligned rather then left?

    infinart Friend
    #738535

    That did it! Thank you.
    What would I add if I wanted the menu center aligned rather then left?

    Pankaj Sharma Moderator
    #573522

    <em>@infinart 477349 wrote:</em><blockquote>That did it! Thank you.
    What would I add if I wanted the menu center aligned rather then left?</blockquote>
    Hello
    You can add below code in custom.css

    .t3-megamenu .mega-nav > li, .t3-megamenu .dropdown-menu .mega-nav > li {
    text-align: center;
    }

    It will look like this >>> http://prntscr.com/7f78n3

    Pankaj Sharma Moderator
    #738549

    <em>@infinart 477349 wrote:</em><blockquote>That did it! Thank you.
    What would I add if I wanted the menu center aligned rather then left?</blockquote>
    Hello
    You can add below code in custom.css

    .t3-megamenu .mega-nav > li, .t3-megamenu .dropdown-menu .mega-nav > li {
    text-align: center;
    }

    It will look like this >>> http://prntscr.com/7f78n3

    infinart Friend
    #573527

    Thank you. But it doesn’t make a difference. It’s still left aligned.

    infinart Friend
    #738554

    Thank you. But it doesn’t make a difference. It’s still left aligned.

    Pankaj Sharma Moderator
    #573530

    Hi
    Please clear your site+ Browser cache and check it again ,
    the code is working on my side .
    Screenshot >>> http://prntscr.com/7f7v99

    Pankaj Sharma Moderator
    #738557

    Hi
    Please clear your site+ Browser cache and check it again ,
    the code is working on my side .
    Screenshot >>> http://prntscr.com/7f7v99

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

This topic contains 15 replies, has 2 voices, and was last updated by  Pankaj Sharma 9 years, 4 months ago.

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