Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #815983

    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.

    #816023

    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

    #816241

    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.

    #816387

    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

    #816464

    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

    #816787

    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

    #817127

    Hi,
    Admin credentials below:

    Please let me know if there’s anything else.

    #817474

    Hi agilecic,

    Please refer to this thread for a possible solution.

    Best regards,
    Victoria

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