[Resolved] Is it possible to change the colour of the title depending on category

Home Forums Support Is it possible to change the colour of the title depending on category

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1309215
    nomadiceman

    Just purchased the pro and set it up on my site. I am very impressed with it so far. Thank you for the work you’ve done already

    Is it possible to change the colour of the title of the post depending on what category it is?

    What I am trying to do is in the blog archive, grid format, I want to have the titles of each post a different color depending on what category it is in

    I am referring to the blog archive NOT the single blog post titles

    Thank you in advance

    #1309256
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can edit the original topic and use the private URL field.

    Let me know 🙂

    #1309257
    nomadiceman

    ive added the url. that you for your fast response

    #1309260
    Leo
    Staff
    Customer Support

    You’d need to use CSS like this:

    .generate-columns-container .category-retirement h2.entry-title a {
        color: #ff6900;
    }
    .generate-columns-container .category-general h2.entry-title a {
        color: #9b51e0;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #1309262
    nomadiceman

    that’s awesome, thank you very much.

    have a great day

    #1309263
    nomadiceman

    resolved

    #1309264
    Leo
    Staff
    Customer Support
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.