Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1072685

    Hi guys, I am wondering if it is at all possible (fairly simply) to change the primary colour for links, bold, drop caps etc. depending on category or tags used in a post?

    So for example if my links etc. are usually red, could I make them green if a post was in a certain category or carried a certain tag?

    I hope that makes sense.
    Many thanks.

    • This topic was modified 6 years, 12 months ago by Hengest.
    #1073593

    Hey Hengest,

    I think that would be possible but you would have to write manual CSS to achieve it. The category class should be in the body tag, then you could use CSS like this:

    .category-class strong {
      color:red;
    }

    Best regards,
    Rikard

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.