Add category classes to post loop using Tag Div Composer

Posted in: Newsmag
Post count: 38

We are using Tag Div Composer, we need the category classes within the post loop so we can add some CSS based in the category, right now the only classes each post in the post loop have are “td_module_2 td_module_wrap td-animation-stack” is there a way to have the categories as CSS classes like a standard post loop? Site is https://www.staging1.geospatialworld.net/

Post count: 35449

Hi,

If you are referring to “Latest articles” then you can not edit it with tagDiv Composer, this section is set from page template using Page builder + latest articles + pagination
The category can be enable on modules from theme panel -> https://forum.tagdiv.com/tagdiv-composer-tutorial-2/

Hope this will help you!
Thank you!

Post count: 38

Hi Calin,

We need to add the categories to each article as a CSS class, not to display the category on each article.

Does this make sense?

Post count: 35449

Hi geospatialmedia,

I’m afraid that I do not understand what you want to achieve, our theme can assign categories to posts/articles only from inside of WordPress editor -> https://i.imgur.com/yNXuXSm.png this is the only way to add categories.
Please provide some more details about what you want to achieve.

Thank you for your understanding and sorry for the inconvenience!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newsmag’ is closed to new topics and replies.