Archived

This topic is now archived and is closed to further replies.

  • 0

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

Question

Posted · Report post

Hello,

 

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!!!!!!!!!!!!!!!
 
-R

Share this post


Link to post
Share on other sites

2 answers to this question

Posted · Report post

In this code:

li {line-height 40px;}

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

 

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

Share this post


Link to post
Share on other sites

Posted · Report post

Thank you!!!

Share this post


Link to post
Share on other sites