Home › Forums › Weaver Xtreme Theme › I can remove arrows on nav bar but not the space they have created
- This topic has 6 replies, 5 voices, and was last updated 10 years, 8 months ago by
webdzign.
-
AuthorPosts
-
November 24, 2014 at 10:20 UTC - Views: 3 #17409
robfoster
ParticipantHi
I have removed the arrows from my nav bar in Xtreme admin, but i want to remove the space that is created by the arrows which is still there.could anyone assist?
Thanks
November 24, 2014 at 10:37 UTC - Views: 3 #20144scrambler
ModeratorI still see the arrows on IE, so what exactly did you do?
November 24, 2014 at 11:20 UTC - Views: 6 #20145scrambler
ModeratorIndeed it looks like the right padding of menus with sub menus is increased from the 0.75em default to 1.5em to make a space for the arrow, and is not chnaged back when the arrows are hidden.
@weaver would have to confirm if it is normal that the padding used to create a space for the arrow is not removed when the hide arrow option is used
In the mean time, to remove the right padding meant to create the space for the arrow when the hide arrow option is checked use the rule below
.menu-hover.menu-arrows .has-submenu > a {padding-right:0.75em;}
If you use the arrow on some menus and not others, add the menu style class
.menu-primary .menu-hover.menu-arrows .has-submenu > a {padding-right:0.75em;}
@weaver, I see the rule includes a class .menu-arrows which makes me think this class is only meant to be present on the menu ul tag if the menu has the arrow option on, so could it be a bug that when checking the hide arrow option, that class should be removed from the menu ul tag but is not ?
November 24, 2014 at 12:27 UTC - Views: 3 #20146robfoster
Participantthats done it !
November 24, 2014 at 14:14 UTC - Views: 5 #20147Weaver
KeymasterIf I remember right, the problem has to do with the arrow stuff really being handled by the Mobile Menu script, and removing any of the menu-arrows classes would then break the mobile menu.
But adding the new rule you found may be a workable alternative. I will check that out.
April 16, 2015 at 16:26 UTC - Views: 5 #20148Peter
ParticipantHi, same problem, submenu arrow turned off but space is still there. Is the above solution still the way to solve this? Tried it but didn’t seem to remove the space?
http://myamiko.net/kkkkk/January 23, 2016 at 01:01 UTC - Views: 7 #20149webdzign
ParticipantPeter, When I first tried it, it didn’t work, either. But when I added an “important” statement it worked.
.menu-primary .menu-hover.menu-arrows .has-submenu > a {padding-right:0.75em !important;}
Thanks, Scrambler!
Hope this helps. -
AuthorPosts
- You must be logged in to reply to this topic.

