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.

H1, H2 & H3 Tags Unformated on Blog Post

Open 3 replies questionthemetheme-corp
6 years ago · Last reply by Alex S 6 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.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Alex S Staff 6 years, 11 months ago

    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. rmanuel 6 years, 11 months ago

    Hi Alex,

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

    Thanks!

  3. Alex S Staff 6 years, 11 months ago

    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.

Have a different question or issue?

Start New Thread