So thanks to another kind Squarespace user, I know how to target a specific element of the navigation. I've gotten the color of the link to change and even added a line to the top part of the element:
What I'd like is to add padding to the bottom of the element before this "Contact the Experts" (which I know would be ....last-child(3)... but it seems that because of the line-height, I can't add padding or something like that. When I try changing the line-height of the element above ("What's my home worth?), it DOES alter the space between it and the element above it "Contact".. but of course it adds extra space between it and the element below it "Property Search"... There has to be a way to sort of override the line-height setting to create more separation between two specific lines right?
Hope someone can help! THANKS! www.liluxemiami.com
asked Mar 08 '13 at 13:37 by lysisgalnares 25●1●2●5
The CSS is targeting the a tag, whereas for the padding/spacing you really want to be targeting the li tag that is the parent of the a tag. You can use this CSS to do so:
You might consider moving the border onto this element instead, for a cleaner effect.
answered Mar 09 '13 at 10:59 by subpar 740●1●11