Changing ‘content’ css rules
-
In the link attached, each card is pulled through automatically by the theme, creating a “resources” section. The text preview and read more link is pulled through by default.
We have four categories within this section, and “read more” is pulled in for each category. I was thinking, is there a way to customise the preview text and link that is pulled based on category?
The code is currently as follows:
.tax-portfolio-category .entry-thumb: before {
content: “Read more”;Can I set this to change dependent on our four categories (Case Studies, White Papers & Reports, Videos & Webinars and Guides)
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Changing ‘content’ css rules’ is closed to new replies.