Support

Account

Home Forums Gutenberg Taxonomy slug as class

Unread

Taxonomy slug as class

  • I created a new taxonomy containing two elements. I’d like to display these two elements with two different colors, and to do this, I thought it would be useful to have their slug as a CSS class. However, the theme I’m using (Twenty Twenty-Four) doesn’t provide a class for each tag/category/taxonomy. Is there a way to add them automatically?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.