Quintus – How can I center page titles without CSS?

  • Unknown's avatar

    Quintus is my favorite theme, but it has one problem that annoys me. Page titles in Quintus are aligned to the right, while I like the titles of pages to be centered. I currently manage to sort of get around the problem by copying and pasting the following code into the title field behind the words, until the title is in the center.

             

    The problem with this is that while the title will be centered when viewed on one monitor, it will be off-center in another. It might, for example, look perfect on a 16:9 monitor, but look wrong on a 4:3 monitor.

    Is there any way to center the titles of pages in Quintus without using CSS or the method I currently use?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Is there any way to center the titles of pages in Quintus without using CSS or the method I currently use?

    Not that I know of – sorry.

  • Looks like the code you’ve been using to centre your titles was erased – could you please re-paste it here and use the code formatting buttons so it’ll come through? Thanks.

    Could you also please link to a page on your site where you’ve used this method so I can take a look? I did a quick spot-check but I’m only seeing left-aligned page and post titles.

    Thanks!

  • Unknown's avatar

    Here’s the code I use:

           

    Here’s one of the pages I used this method on:

                                   Glenda Farrell: Her Life and Legacy

    On my end (on a 16:9 monitor) the title is currently centered on that page.

    By the way, in my original post, I made a mistake when I wrote, “Page titles in Quintus are aligned to the right.” I meant left.

  • Unknown's avatar

    The code still didn’t go through. I’ll try again.

    `       

  • Unknown's avatar

    I can’t get it to show up. Here’s a page with the code in question. It’s the code that appears right after “What is” in the page’s title.

    http://www.sightspecific.com/~mosh/www_faq/nbsp.html

  • Ah – you were using non-breaking spaces? That would explain why it’s not reacting well to different screen sizes. Hard-coding non-breaking spaces isn’t a reliable centering technique for a few reasons, and this is one of them. :-)

    Since any HTML or CSS you enter in the title field will be stripped out by the post editor, I can’t think of a way to centre your titles without Custom CSS. If you decide to go that route, this snippet should do the trick:

    .entry-title {
      text-align: center;
      display: block;
    }
  • Unknown's avatar
  • The topic ‘Quintus – How can I center page titles without CSS?’ is closed to new replies.