Home>Support>How to center post title in categorie and tag archive pages

How to center post title in categorie and tag archive pages

Hi,
I succeeded in centering the post titles, based on a css adjustment, which can be found here:

How to center post title

However, in the blog, category and tag pages the posts haven’t got a centered post title.

Any advices on to how to center these titles in the blog pages? (blog, category and tag pages)

Thanks in advance!

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

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

    Hi Budelski,

    Please add the following additional CSS to WP AdminAppearanceCustom CSS

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

    How does that look?
    You might also need to install the SiteOrigin CSS Editor.

  2. 6 years, 8 months ago budelski

    Hi Alex S,
    This centers the title in the blog post, but unfortunately not in the blog post titles in the tag overview, category overview and archive overview of blog posts (see attachments )

    Is there a CSS fix for that to? Tag overview blog posts Category overview blog posts Archive overview blog posts

    Thanks in advance!
    Martijn

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

    Hi Martijn,

    That’s odd – that CSS should have affected both. Do you have a public URL where we can take a look at the pictured page?

  4. 6 years, 8 months ago budelski

    Hi Alex, super fast response :-)

    Yes, that is:
    http://chariweb.nl/gemeente/de-bilt/ (tag)
    http://chariweb.nl/doel/volksgezondheid/ (category)
    http://chariweb.nl/2018/01/ (archive)

    Thanks in advance!
    Martijn

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

    Hi Martijn,

    Please replace the previously provided CSS with:

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

    How does that look?

    You might also need to install the SiteOrigin CSS Editor.

  6. 6 years, 8 months ago budelski

    Works like a charm!
    Can be closed :-)

  7. 6 years, 8 months ago budelski

    Hi Alex,
    Sort of related, I am trying to translate the page titles (month/ tag/ category) of these archive/ tag and category blog pages but I can not find this anywhere.

    I have looked in Loco translate in the North theme and my North child theme/ WordPress/ Plugin pages, but can not find it.

    Hope you help me out with this one to!

    Martijn

    • 6 years, 8 months ago Alex S
      Hi, I Work Here

      Hi Budelski,

      We’d like to help you, but can you please start a new thread with your question? This will allow others who have similar issues to find related posts easily. Sorry about this!

      Page: New Thread

      If you’re a premium user, you’re entitled to priority email support. If you would like to make use of that please follow the instructions found on your dashboard Page: Dashboard

  8. 6 years, 8 months ago budelski

    I hope I can add the following question to this thread, because this question is directly connected with the initial question. Is it also possible to center the page titles (month/ tag/ category) of these archive/ tag and category blog pages? In this case for example center the Page title Tag: De Bilt

    Thanks again!

  9. 6 years, 8 months ago Alex S
    Hi, I Work Here

    Hi Budelski,

    Please add the following additional CSS:

    .page-header {
    	text-align: center;
    }
    

    How does that look?

    You might also need to install the SiteOrigin CSS Editor.

  10. 6 years, 8 months ago budelski

    Again a winner, thank you so much!

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