Home>Support>Less spacing under and above my h2 text

Less spacing under and above my h2 text

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

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

URL: http://www.regenclinic.dk/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi Jonas

    There is an empty paragraph there, try removing it.

  2. 10 years, 10 months ago Jonas Holm

    Both above and under the text?

  3. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    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;
    }
    
  4. 10 years, 10 months ago Jonas Holm

    Great. Thanks! I assume i just change h1 with h2 – i’m using h2 tags on my frontpage (-:

  5. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    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.

  6. 10 years, 10 months ago Jonas Holm

    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

  7. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More