This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Less spacing under and above my h2 text

Open 7 replies premiumthemetheme-vantage
Started · Latest reply by Andrew Misplon

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.

Need fast email support? Get SiteOrigin Premium

Replies

7
  1. Andrew Misplon Staff

    Hi Jonas

    There is an empty paragraph there, try removing it.

  2. Jonas Holm

    Both above and under the text?

  3. Andrew Misplon Staff

    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. Jonas Holm

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

  5. Andrew Misplon Staff

    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. 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. Andrew Misplon Staff

    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.

Have a different question or issue?

Start New Thread