• Hi Guys,

    I’m using a child theme of 2011 as the base for my site.

    What I want to do is have one style for page entry-title.
    and another style for post entry-title.

    Near as I can tell they have the exact same class and id, so does anyone know how I can set them up with different classes to work differently in css?

    Here’s the current version of the site
    https://keepower.com.au/

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Start by working on the content.php template. The default version has code above the main entry-title line for sticky posts, else the default entry-title html, then endif. Extend this logic with <?php elseif (is_page()) : ?> do one thing <?php else : ?> do the other.

    You may need to do something similar with other content-*.php templates.

Viewing 1 replies (of 1 total)
  • The topic ‘Cufon code: entry-title different for posts and pages’ is closed to new replies.