Home>Support>H1, H2 & H3 Tags Unformated on Blog Post

H1, H2 & H3 Tags Unformated on Blog Post

By rmanuel, 5 years ago. Last reply by Alex S, 5 years ago.

Hi,

I used the following custom css to add margins to my blog posts page but the h1, h2, h3, etc headers don’t follow the margin and are off on the page. Is there a way to get them aligned with the paragraphs in the blog.

Here is the custom css I used, and the blog post in reference: http://foodvendingprofits.com/how-to-start-a-mobile-food-business/

/* Single */

article.post .entry-header h1.entry-title, article.page .entry-header h1.entry-title {
text-align: center;
}

article.post .entry-header .entry-meta, article.page .entry-header .entry-meta {
text-align: center;
}

.single .entry-content p {
margin-right: auto;
margin-left: auto;
max-width: 650px;
}

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

  1. 5 years, 6 months ago Alex S
    Hi, I Work Here

    Hi Rmanuel,

    You’ll need to apply your margin and max-width CSS directly to the headers as they’re separate to the paragraphs rather than inside of them.

  2. 5 years, 6 months ago rmanuel

    Hi Alex,

    Thank you. Can you provide the code I can plugin into the custom area? Newbie here.

    Thanks!

  3. 5 years, 6 months ago Alex S
    Hi, I Work Here

    Hi Rmanuel,

    I’d like to help you with that, but unfortunately, that’s beyond the scope of the support we’re able to offer on our free forums.

    We do offer this level of support to our premium users, so if you’d like to upgrade to SiteOrigin Premium, then I can help you over email support.

    If you’d prefer not to upgrade to SiteOrigin Premium, then you can hire a WordPress developer from Codeable. They’ll charge you an hourly rate for any work done.

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