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


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?

  • 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.

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

The topic ‘Background color for category meta data’ is closed to new replies.

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.