Support

Account

Home Forums Pre-purchase Questions Background color for category meta data

Solving

Background color for category meta data

  • I’m new to ACF, and have a question about using it with Elementor.
    I have posts that belong to multiple categories.
    I’m displaying the category meta data on each post.
    I’ve been searching for a way with CSS to have a different color background for each category, and add padding.
    So far all I’ve been able to do is to set per nth-child, which doesn’t work because it’s applying based on position, not category.
    Is this something that can be done with ACF?
    TYIA.

  • This is something that you’d have to contact Elementor about. I do not know if ACF can help with this or not.

    • mikekl89

    • December 12, 2020 at 12:44 am

    Thank you, appreciate it.

  • You can take help from w3 schools tutorials as they explained it in nice manner

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.