WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Help change post title format (3 posts)

  1. webcomx
    Member
    Posted 1 year ago #

    Hi, can anybody help me change the post title format?

    I am running custom version of Twenty Eleven with Child themes at http://www.powderwhite.com/blog

    All titles have a 65px margin on the left to allow showing dates on home page and category pages. But I have removed the date on single posts but the 65px margin remains.

    entry-title is the css and seems to be controlled from the functions page (see code) http://pastebin.com/wtSHG5bp (I changed title-date to entry-title so the microformats can be read by Google.

    Anybody have an idea what to do? The titles on home & category pages are H2 and the titles on posts are H1.

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    you might need to add a new style using single post specific body-class .single:

    .single .entry-title { margin-left: 0; }

  3. webcomx
    Member
    Posted 1 year ago #

    Thanks alchymyth, that did the trick.

    Have a great New Year 2013!

Topic Closed

This topic has been closed to new replies.

About this Topic