Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #341045
    eddiecelebrant
    Participant

    Hello! I’m trying to show featured content with their tags to identify their type but I do not want the tags to be clickable. It that possible?

    Here’s the page. It is exactly as I want, bar from the clickable orange tags.

    Any help would be greatly appreciated.

    #341046
    sujapati
    Keymaster

    @eddiecelebrant: Thanks for the message! It looks like the link to the page didn’t come through. We understand you’re trying to display tags for your featured content to help identify their type but not to be clickable, that’s definitely possible. Please add the CSS below to your site and save the changes.

    .taxonomy-post_tag.wp-block-post-terms  a {
        pointer-events: none;
        text-decoration: none;
        color: inherit;
    }

    Let us know if there’s anything else we can help with!.

    Regards,
    Sujapati

    #341048
    eddiecelebrant
    Participant

    Thank you Sujapati!

    The link is this one: https://eddiecelebrant.com.au/vendors-i-love/

    Where exactly should I add this code to? Sorry, I am just somewhat fluent in coding 😛

     

    #341049
    sujapati
    Keymaster

    @eddiecelebrant: Thanks for making it clear. If you want all post-terms to be unclickable, add the below CSS snippets to your additional CSS.

    .wp-block-post-terms a {
        pointer-events: none;
        text-decoration: none;
    }

    Go to Dashboard > Appearance > Editor > Templates > Front Page

    Please check the screenshot below for reference.

    image

    Regards,
    Sujapati

     

    #341053
    eddiecelebrant
    Participant

    Absolutely perfect. Thank you so very much.

    #341054
    sujapati
    Keymaster

    @eddiecelebrant: You are very welcome! Let us know if anything else comes up.

    Regards,
    Sujapati

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