• I would like to change the title color of just a single page on my blog. Is this possible? I looked and found in the page.php file the following code

    <h3 id=”post-<?php the_ID(); ?>”><?php the_title(); ?></h3>

    I think that I have to add an if statement or something to add the name of that single page that I need to change. Any thoughts?

    Thanks

Viewing 1 replies (of 1 total)
  • I think you just need the ID of the post. The title is already given an id of post-xxx, where xxx is the post ID.

    Then, add a line like this to style.css:

    h3#post-xxx { color: red; }

Viewing 1 replies (of 1 total)
  • The topic ‘Page Title color change’ is closed to new replies.