Home Forums Weaver Xtreme Theme How do I adjust the space between main menu items? Re: How do I adjust the space between main menu items?

#20106
scrambler
Moderator

That is because you did not combined the two rules.

You put in

a {padding:0 7px;} a:hover {text-decoration: underline;}

Which generates

#nav-header-mini a {padding:0 7px;}
a:hover {
    text-decoration: underline;
}

So the selector is missing on the second one.

This is because the theme add the options selector once in front of everything that is in the box.

When you have multiple properties with the same selectors, combine them in the same curly bracket. So if you want the underline all the time, use

a {padding:0 7px;text-decoration: underline;}

When you need different added selectors (like it is the case here if you only want it on hover) you need to add the selector variable, so what you need to put in the box is

a {padding:0 7px;} %selector% a:hover {text-decoration: underline;}