- This topic has 1 reply, 2 voices, and was last updated 1 year, 6 months 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 1 year, 6 months ago by
Terry Hale.
-
This reply was modified 1 year, 6 months ago by
-
Viewing 1 reply thread
- You must be logged in to reply to this topic.