I am trying to add a divider line, maybe 1-3 px underneath the share buttons of each post. Then I want to add about 50 extra pixels below that line before the next title starts.
Help!
Thanks!
I am trying to add a divider line, maybe 1-3 px underneath the share buttons of each post. Then I want to add about 50 extra pixels below that line before the next title starts.
Help!
Thanks!
In your stylesheet, change this:
#content h2 {
font-size:27px;
margin:5px 0 7px 0;
}
To something like:
#content h2 {
font-size: 27px;
margin: 50px 0 20px 0;
padding-top: 10px;
border-top: 1px solid #666666;
}
Adjust the padding, margin, and border colours/thickeness as you like.
Just watch out: use a custom stylesheet if your theme offers one, or build a child theme - otherwise beware as your style tweaks will likely be overwritten if you update the theme in future.
p.s. this is just basic CSS - as a professional web designer you can just use the techniques you must use on other types of sites - WordPress is no different.
Thanks!
You must log in to post.