Site logo

[Support request] HTML-class for post-term-item

Home Forums Support [Support request] HTML-class for post-term-item

Home Forums Support HTML-class for post-term-item

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

    Hi, couldn`t figure out how to add html-class to post-term-item, if is a child-category:

    I have the dynamic Text-Type “List of Terms”, which outputs all categories, a post is associated with.
    For CSS styling, it would be helpful to have a html-class with “parent-class” :

    term-health: = main-category
    term-body: sub-category

    Current:

    <span class="post-term-item term-health">.. </span>
    <span class="post-term-item term-body">.. </span>

    Improvement:

    <span class="post-term-item term-health"> .. </span>
    <span class="post-term-item child_term-health term-body"> .. </span>

    Thx for your suggestions – Max

    #2444762
    David
    Staff
    Customer Support

    Hi there,

    there is no filter available in GenerateBlocks to change that. And i am not sure how easy that would be to do.
    Do you want to raise it as a feature request ?

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