Add border to Widget headers
-
I would like to add a border under the title of the sidebar widgets. Just a small line to separate the title from whatever is underneath.
I’m editing my blog using custom css. Thanks in advance!
The blog I need help with is: (visible only to logged in users)
-
I figured out how to do it!
.side-widget h3 { font-size: 2.8em; font-weight: 400; text-transform: lowercase; text-align: center; border: 1px solid #888; margin-bottom: 15px; color: #888;However, I don’t really want to have a box, just a single line underneath the title. Is this possible?
-
Hi coxa8c
Try –
.side-widget h3 {border-bottom: 1px solid #your-color-here}Add some padding-bottom if you’d like to push the line down a bit. Ie:
.side-widget h3 { border-bottom: 1px solid #your-color-here padding-bottom: 10px; }Hopefully this helps.
-
Note – I accidentally left out the semi-colon after the property value in the first line of my css – make sure to add it back in!
.side-widget h3 { border-bottom: 1px solid #your-color-here; padding-bottom: 10px; }Sorry about that!
-
-
- The topic ‘Add border to Widget headers’ is closed to new replies.