Less spacing under and above my h2 text
Hi guys.
On my frontpage i´m having a little “box” under my pictures with some text in h2. The spacing under and above the text is prette big, I would like it to be smaller and just caaan’t figure out how to do it.
Its this text I’m talkin about:
“BOTOX OG RESTYLANE”
“ANSIGTSLØFT UDEN KIRURGI”
Etc.
I’ve tryed some css, but npt sure I’m doing it right.
It’s ony on my frontpage I want the spacing to change – on my other pages it´s perfect as it is.
Cheers
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
7Hi Jonas
There is an empty paragraph there, try removing it.
Both above and under the text?
There is an empty paragraph above. Below you’re declaring margin in your Custom CSS:
.entry-content h1 { line-height: 25px; margin: 0 0 3px; }Great. Thanks! I assume i just change h1 with h2 – i’m using h2 tags on my frontpage (-:
The heading we’re looking at/talking about is an h1. The bottom margin of 3px that it has is being assigned in your Custom CSS. Hope that helps.
Maybe I explained wrong. But I’m talkin about my h2 txt on on my frontpage. I’ve drawed on this screenshot (-: http://www.regenclinic.dk/wp-content/uploads/Unavngivet.png
Ok with you now. Those look to be h3’s. You would use:
.entry-content h3 { margin: 1em 0; }And edit as required.
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.