Jump to content

How to change line height in one widget without changing it in them all

Recommended Posts




I have a question that has been bugging me for the better part of a week. I would like to change the line-height in my main navigation box on my page here : www.philosophymuse.com/highlights (the main one is the one on the top right with the 5 big blue links). I know how to change the line-height for the text in all the widgets, and I know how to customize somethings in that particular widget, ex. 



#nav_menu-2 {border-bottom-right-radius: 20px; padding-top: 50px; padding-bottom: 50px; font-size: 25px; background-color:  
#C2C2C2; }
but when I put the line-height change here, it does nothing!
When I do this:
li { line-height 40px} it changes it for all the widgets. 
Can anyone help me figure out how to change such things for just one widget???
Thanks so much!!!!!!!!!!!!!!!

Share this post

Link to post
Share on other sites

In this code:

li {line-height 40px;}

...you need to be more specific like this:


#nav_menu-2 li {line-height 40px;}

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now