Home Forums Weaver Xtreme Theme I can remove arrows on nav bar but not the space they have created Re: I can remove arrows on nav bar but not the space they have created

#20145
scrambler
Moderator

Indeed 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 ?