I am wondering if someone could tell me what css elements would allow me to vertically compress the space in each menu entry. I’m trying to find the important parts of the css but I think there may be more than one element dictating it as I changed everything I could think of for height but it remained the same on refresh.
Here’s a really bad example-shop of my goal:
Current:
What I’d love:
Could someone point me toward the necessary css elements to make this happen?
Thanks very much for that, Sam. Could you also explain how I would fine tune the arrow that points down when opening a child menu entry? I’ve widened the menu somewhat and now the right side of the arrow no longer spans the entirety of the menu. I’d also like to make it less vertically pronounced and have it be a bit shallower in regards to how far down it goes into the element below it.
Lines 62 and 84 of sidebarmenu.css have these selectors with border rules that you need to adjust.
Looks like the arrows are created by using borders to make the shape.
I have tried to implement the change but I’ve messed up somewhere. It seems that my arrow altered in size but now it’s floating below instead of tucking up against the parent element. I’ve updated the demo page:
Thanks a bunch Paul. I have one more problem that I can’t find the solution to. Now that I’ve squashed the menu vertically, the arrow on the right side for the drop down is no longer centered vertically and I’m having a problem finding where in the CSS I can make this change. I thought I’d be able to find it easily by looking for the color white, but I can’t see anything dealing with spacing.
Would you happen to know where I could change that?