How to center title?

  • Author
    Posts
  • #1372416

    ggreentree
    Member

    How do I center my title?

    The blog I need help with is ggreentree.wordpress.com.

    #1372525

    mrdirby
    Member

    You will need the custom design upgrade to edit the css on your blog.

    http://en.support.wordpress.com/custom-design/

    #1372538

    1tess
    Moderator Emeritus

    CSS is not necessary.
    Edit the title with spaces until it looks centered. You can use this entity on your tagline as well.
    Dashboard—>settings—>general—>add non-breaking spaces—>save
    Here is how to write a non-breaking space: & nbsp ;
    (but write it without the spaces I added so the code shows up here)

    You’ll have to experiment with how many spaces you’ll need.

    #1372552

    mrdirby
    Member

    @1tess, that would work, but would it look OK on smaller screens? Just haven’t seen that solution before.

    #1372562

    1tess
    Moderator Emeritus

    It seems to work when you slide the view window to simulate a small screen. My phone is a “dumb phone” so can’t test it in real life on that theme (comet).

    I think if a theme is responsive, and the titles responds to various screen sizes, adding the entity for nbsp will work the same as for the text of the title.

    #1372564

    ggreentree
    Member

    Thanks. I will try it. You would think it shouldn’t be so hard to simply center the title above one of my poems.

    #1372570

    1tess
    Moderator Emeritus

    I should correct myself. Comet is not a responsive theme. My test blog was set to Able, not Comet.

    I was assuming you wanted the main title of your blog centered. This trick also works for post and page titles, though.

    If the title of your poem is part of the post content, then you can simply format that part of the text to be centered.

    #1372577

    mrdirby
    Member

    On iPhone WordPress loads a mobile theme. You are right it isn’t responsive so that trick would work.

    The best way would be to center with the css. Extra spaces eventually lead to weirdness in my experience.

The topic ‘How to center title?’ is closed to new replies.