Highlighted

h tag margins

New Here ,
Dec 18, 2018

Copy link to clipboard

Copied

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

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

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;

}

Views

148

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

h tag margins

New Here ,
Dec 18, 2018

Copy link to clipboard

Copied

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

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

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;

}

Views

149

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 18, 2018 0
Mentor ,
Dec 18, 2018

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 18, 2018 1
Adobe Community Professional ,
Dec 18, 2018

Copy link to clipboard

Copied

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, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 18, 2018 1
Mentor ,
Dec 18, 2018

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 18, 2018 0
Adobe Community Professional ,
Dec 19, 2018

Copy link to clipboard

Copied

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

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 19, 2018 0