Hi,
My posts have categories applied to them and I want them to be output along with the other information in the class list when it’s displayed as a grid.
e.g:
<article class=”slide-entry flex_column post-entry post-entry-358 slide-entry-overview …etc etc
I’d like to have a post category to be a part of that class list.
Hey agilecic!
First of all, thank you for using Enfold. :)
Please try the solution presented here: https://kriesi.at/support/topic/add-the-category-slug-as-a-css-class-to-the-article-content-element/#post-634958
Please let us know if that works for you. If it doesn’t, would you mind providing a precise link to your site, showing the elements in question?
Best regards,
Sarah
This hasn’t worked.
I have a post grid on my homepage and each of the elements in the grid is an <article> which has various classes such as
“slide-entry flex_column” “post-entry” …etc
I want the category of the post to appear in that list of classes so I can style them individually by their category.
I hope thats clear.
Hi,
Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)
Best regards,
Sarah
Here’s the link to the homepage that has a grid of post (currently placeholder but with the correct categories )
If you inspect the element you’ll see they appear as <article> elements with a range of classes. I’d like the items category to be a part of this category list.
Thanks
Hi,
I see. Thank you for this. May we have temporary admin access into your website so we can take a closer look?
Best regards,
Sarah
Hi,
Admin credentials below:
Please let me know if there’s anything else.