• Resolved CypressWebs

    (@jmeyer2485)


    In the theme ‘Glades’ it has an option to have featured posts if you add the tag ‘featured’ or whatever we choose to the post.

    Is there a way to add some php so we could add an additional tag to change the featured post title to a red color only when that tag is used?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • What you need to do is add CSS that applies to the featured posts. Look at the featured post on your home page and click “inspect element” in your browser. You should be able to find all the classes that apply to that featured post and add some custom CSS (via Jetpack or a plugin like Simple Custom CSS) to tell the title to display as red.

    For instance:

    .featured .entry-title {
    color: ff0000;
    }
    Thread Starter CypressWebs

    (@jmeyer2485)

    @sallie Thanks for the response.

    I’m not trying to use basic CSS to change all title colors.

    Like I said in the previous post I want to add a tag to this theme that will change the title color only when a certain tag is added.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Title Color With a Added Tag?’ is closed to new replies.