- This topic has 1 reply, 2 voices, and was last updated 6 months, 1 week ago by
Terry Hale.
(Viewing 1 reply thread)
-
-
13 November 2021 at 9:39 pm #1590
-
13 November 2021 at 9:42 pm #1591::
The <article> tag will have the category within its classes. For example, <article class=”category-recent category-viewpoint”>, where “recent” and “viewpoint” are post categories.
You can add specificity to your CSS by including the article class for each category before you change the text based on category.
JavaScript for this is also an option.
-
This reply was modified 6 months, 1 week ago by
Terry Hale.
-
This reply was modified 6 months, 1 week ago by
-
(Viewing 1 reply thread)
- You must be logged in to reply to this topic.