Skip to main content
Known Participant
Dec 18, 2018 11:08 PM UTC
Answered

h tag margins

How come I have these big margins under my h tags that I can't reduce like the h1 tag for example? Can someone help me reduce the padding between the h tags and the text?

All Together Now

This topic is closed to new replies. Start a new post to keep the conversation going.
Nancy OShea
Nancy OSheaCorrect answer
Community Expert
Dec 19, 2018 1:20 AM UTC

To shore up Angel's Junk Removal with the line below, use this code in your all-together.css file.

.center-article h1 {

    color: #5a7f0e;

    text-align: center;

    padding: 0;

    margin: 0;

}

See screenshot.

This  <h3> has an 80px top margin which is coming from all-together.css

.col-wide-2 h3 {

    color: #5a7f0e;

    text-align: center;

    font-size: 30px;

    margin-top: 80px;

}

Nancy O'Shea— Product User & Community Expert

4 replies

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
Dec 19, 2018 1:20 AM UTC

To shore up Angel's Junk Removal with the line below, use this code in your all-together.css file.

.center-article h1 {

    color: #5a7f0e;

    text-align: center;

    padding: 0;

    margin: 0;

}

See screenshot.

This  <h3> has an 80px top margin which is coming from all-together.css

.col-wide-2 h3 {

    color: #5a7f0e;

    text-align: center;

    font-size: 30px;

    margin-top: 80px;

}

Translate
Nancy O'Shea— Product User & Community Expert
ALsp
Legend
Dec 19, 2018 5:33 AM UTC

LOL, I wish the forum would default to the actual URL . I didn't even notice the page link

Translate
Nancy OShea
Community Expert
Community Expert
Dec 19, 2018 7:07 PM UTC

This forum grabs the URL's page title.  It takes getting used to.

Translate
Nancy O'Shea— Product User & Community Expert
ALsp
Legend
Dec 18, 2018 11:29 PM UTC

Heading tags (h1-h6) have default margins. What CSS are you using to create your page?

Translate