BV Commerce Forum
»
BV Commerce Support
»
General Support
»
changing line height on category side menu
Rank: Member
Joined: 2/25/2008(UTC) Posts: 111
|
Can anyone tell me the css id for changing the line height on the category side menu? I want the lines to be closer together
|
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
Something like .categorymenu li { line-height: 1.1em; }. |
|
|
|
|
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
Cliff, the "em" ties this to the height of the font, correct? So if the font size changes, the space also changes? |
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
Yes, as it should be in most cases. A number will be multiplied with the font size. A percentage would be a percentage of the font size. I don't recommend using fixed pixel dimensions unless absolutely necessary.
Also, I should mention that using LI in this case may not work for you if you have a lot of nested options, as lists often have. So setting the line-height on the containing element, .categorymenu, might be the best way to go. Again, it really depends on the rest of your CSS. |
|
|
|
|
Rank: Member
Joined: 2/25/2008(UTC) Posts: 111
|
Neither of those worked, thanks anyway
|
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
Can you verify that is the class for that menu you're working with and did you adjust the value? Is line-height set elsewhere? |
|
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
Afterthought: since I can't see what you're doing, this may not be a line-height issue but a padding/margin issue on your list items, so check there as well. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.