• kadosh1000

    (@kadosh1000)


    Hi, I’m using twenty eleven theme and want to center the post titles.
    I’ve tried several methods posted on this forum, but none of them seems to work.
    to address to my Blog is:
    sit.org.il/yaron

    Thanks in advance,
    Matan

Viewing 8 replies - 1 through 8 (of 8 total)
  • esmi

    (@esmi)

    Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. Create a child theme for your changes.

    Thread Starter kadosh1000

    (@kadosh1000)

    Can you please give me a more detailed explanation? With specifics related to my question?

    esmi

    (@esmi)

    Please see the page that I linked to above.

    Thread Starter kadosh1000

    (@kadosh1000)

    OK I’ve created a child theme,
    which css property do i need to add in order to center post titles?

    esmi

    (@esmi)

    I’m sorry but it is beyond the scope of these forums to deal with basic CSS issues. Try a dedicated CSS resource such as https://www.css-discuss.org/ instead. I’d also recommend using Firefox with the Firebug add-on for this kind of CSS work.
    https://getfirebug.com/

    Thread Starter kadosh1000

    (@kadosh1000)

    I do know css,
    I just dont know which class or div put the text-align parameter on.
    All i need to know is what to put the changes on.

    esmi

    (@esmi)

    Then try using Firebug.

    I’m not sure how it’s “beyond the scope of these forums to help with basic CSS issues” specially when the description of one of them is “– XHTML and CSS” and the question relates to the default WordPress theme.

    But anyways in case you haven’t figured it out already…

    This will center the post title and meta info

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

    If you just want to center the post title use

    .entry-title, .entry-title a
    text-align: center;
    }

    Add either to your child theme.

    If you need help with more CSS issues that are “too basic” for these forums, feel free to ask for help on mine https://zeaks.org

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Center Post title’ is closed to new replies.