-
AuthorPosts
-
christofferl Friend
christofferl
- Join date:
- January 2011
- Posts:
- 233
- Downloads:
- 30
- Uploads:
- 101
- Thanks:
- 21
- Thanked:
- 2 times in 1 posts
May 18, 2016 at 8:57 am #931896Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 18, 2016 at 9:18 am #931912Hi
Add below code in custom.css file to create some padding between these menu items .
By this you also have sliding effect in this part ..jvld_dirmenu.nav-pills > li > a { padding-left:5px;}
christofferl Friendchristofferl
- Join date:
- January 2011
- Posts:
- 233
- Downloads:
- 30
- Uploads:
- 101
- Thanks:
- 21
- Thanked:
- 2 times in 1 posts
May 18, 2016 at 10:31 am #931945Thanks, this works fine. However, if I wish to disable the "sliding effect" … how is this done?
The sliding effect is also visible in the sub items in the main menu which I also would like to disable.
Please comment and suggest.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 18, 2016 at 10:37 am #931948Hi
I already suggested the solution for same topic in your thread here : https://www.joomlart.com/forums/topic/how-to-get-rid-of-the-sliding-effect-in-the-main-menu/
Please check and apply .christofferl Friendchristofferl
- Join date:
- January 2011
- Posts:
- 233
- Downloads:
- 30
- Uploads:
- 101
- Thanks:
- 21
- Thanked:
- 2 times in 1 posts
May 18, 2016 at 10:42 am #931952Ahh, sorry about this. I actually had the mega menu set to OFF, but now when having it on ON, this sub menu time slide effect gone.
Unfortunately this sliding effect still persist in the menu which my initial picture shows. Any ideas on how to get the menu "still" and fixed?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 18, 2016 at 10:55 am #931958Hi
set the value of padding left to 12px in code i suggested above .
Hope it helpschristofferl Friendchristofferl
- Join date:
- January 2011
- Posts:
- 233
- Downloads:
- 30
- Uploads:
- 101
- Thanks:
- 21
- Thanked:
- 2 times in 1 posts
May 18, 2016 at 1:17 pm #931998Thanks but this only expands the gap in between … the sliding effect is still present if you hover over the menu. Please try for yourself and you will understand.
Hope you can figure out how to stop this feature.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 18, 2016 at 4:02 pm #932036Hi
Remove this code from custom.css
.jvld_dirmenu.nav-pills > li > a { padding-left:20px; }
And add below code.nav-pills > li.open > a, .nav-pills > li.open > a:hover, .nav-pills > li.open > a:focus { padding-right: 0px; padding-left: 0px; }
christofferl Friendchristofferl
- Join date:
- January 2011
- Posts:
- 233
- Downloads:
- 30
- Uploads:
- 101
- Thanks:
- 21
- Thanked:
- 2 times in 1 posts
May 18, 2016 at 5:16 pm #932048Great! Thank you very much. The ONLY thing left is that I need more space in between the items. I tried the code ".jvld_dirmenu.nav-pills > li > a { padding-left:5px;}" but with not luck.
Please give me a final solution for this.
Thank you in advance 🙂
-
Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 19, 2016 at 1:21 am #932133Hi
Use margin left.jvld_dirmenu.nav-pills > li > a { margin-left:5px;}
1 user says Thank You to Pankaj Sharma for this useful post
-
AuthorPosts
Viewing 10 posts - 1 through 10 (of 10 total)This topic contains 9 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum