-
AuthorPosts
-
June 4, 2015 at 7:11 am #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 ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 4, 2015 at 4:26 pm #572907Hi
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 ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 4, 2015 at 4:26 pm #737941Hi
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.
June 5, 2015 at 3:40 pm #573045I tried that, but it didn’t work. scientology.org.au is the website.
Thank you in advanceJune 5, 2015 at 3:40 pm #738078I tried that, but it didn’t work. scientology.org.au is the website.
Thank you in advancePankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 5, 2015 at 5:44 pm #573076Hi
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 .1 user says Thank You to Pankaj Sharma for this useful post
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 5, 2015 at 5:44 pm #738109Hi
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 .1 user says Thank You to Pankaj Sharma for this useful post
June 10, 2015 at 12:07 am #573508That did it! Thank you.
What would I add if I wanted the menu center aligned rather then left?June 10, 2015 at 12:07 am #738535That did it! Thank you.
What would I add if I wanted the menu center aligned rather then left?Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 10, 2015 at 2:51 am #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 ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 10, 2015 at 2:51 am #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
June 10, 2015 at 3:55 am #573527Thank you. But it doesn’t make a difference. It’s still left aligned.
June 10, 2015 at 3:55 am #738554Thank you. But it doesn’t make a difference. It’s still left aligned.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 10, 2015 at 4:24 am #573530Hi
Please clear your site+ Browser cache and check it again ,
the code is working on my side .
Screenshot >>> http://prntscr.com/7f7v99Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 10, 2015 at 4:24 am #738557Hi
Please clear your site+ Browser cache and check it again ,
the code is working on my side .
Screenshot >>> http://prntscr.com/7f7v99 -
AuthorPosts
This topic contains 15 replies, has 2 voices, and was last updated by Pankaj Sharma 9 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum