Title: sofiaojeda's Replies | WordPress.org

---

# sofiaojeda

  [  ](https://wordpress.org/support/users/sofiaojeda/)

 *   [Profile](https://wordpress.org/support/users/sofiaojeda/)
 *   [Topics Started](https://wordpress.org/support/users/sofiaojeda/topics/)
 *   [Replies Created](https://wordpress.org/support/users/sofiaojeda/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/sofiaojeda/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/sofiaojeda/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/sofiaojeda/engagements/)
 *   [Favorites](https://wordpress.org/support/users/sofiaojeda/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category AJAX Filter – Advanced Filter for Posts & Custom Post Types] Change category color](https://wordpress.org/support/topic/change-category-color-2/)
 *  Thread Starter [sofiaojeda](https://wordpress.org/support/users/sofiaojeda/)
 * (@sofiaojeda)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/change-category-color-2/#post-14346826)
 * email sent, thank you very much. I’ll wait for your answer
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category AJAX Filter – Advanced Filter for Posts & Custom Post Types] Change category color](https://wordpress.org/support/topic/change-category-color-2/)
 *  Thread Starter [sofiaojeda](https://wordpress.org/support/users/sofiaojeda/)
 * (@sofiaojeda)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/change-category-color-2/#post-14342871)
 * Hello!
    I think we are close to what i’m looking forward. The only problem is
   that caf-layout-3 changes all the categories background. I need for each category,
   a different color. For example, in the demo you shared, I would need the tag “
   Men dressing” to be a certain color, and “women dressing” another one.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category AJAX Filter – Advanced Filter for Posts & Custom Post Types] Change category color](https://wordpress.org/support/topic/change-category-color-2/)
 *  Thread Starter [sofiaojeda](https://wordpress.org/support/users/sofiaojeda/)
 * (@sofiaojeda)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/change-category-color-2/#post-14338093)
 * What I see with this is that I cannot target automatically every post with certain
   category.
    I can change the color of the terms only when their active (I want
   to change it in general, not only when their active) but, as I can see on your
   code, the
 *     ```
       div#caf-post-layout-container[data-terms='226'] .caf-post-title a h2 {
           color: #ddd !important;
       }
       ```
   
 * doesn’t work. I want to target all the posts with certain term.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category AJAX Filter – Advanced Filter for Posts & Custom Post Types] Change category color](https://wordpress.org/support/topic/change-category-color-2/)
 *  Thread Starter [sofiaojeda](https://wordpress.org/support/users/sofiaojeda/)
 * (@sofiaojeda)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/change-category-color-2/#post-14338049)
 * Thank you very much!
    I’ve never used the attribute data-terms. It is the information
   after “data-id”? I inspected the css and in each term I can only see an UL LI
   and A, and after that “data-id=”33,21,29,19,36,35,23,34” and “data-target-div
   =”data-target-div1”
 * I really appreciate your help, thanks a lot
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category AJAX Filter – Advanced Filter for Posts & Custom Post Types] Change category color](https://wordpress.org/support/topic/change-category-color-2/)
 *  Thread Starter [sofiaojeda](https://wordpress.org/support/users/sofiaojeda/)
 * (@sofiaojeda)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/change-category-color-2/#post-14337631)
 * Hi, thanks for answering.
    Actually, I need each term of my filter to have a 
   different color, and to coincide that color with the title of the post. E.g I
   want to filter by category “Movies”, the term “Movies” is color Red, and the 
   post title with category “Movies” is also red.
 * I have knowledge of css but this seems to be more a “if” function, am I correct?

Viewing 5 replies - 1 through 5 (of 5 total)