Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Changing ‘content’ css rules

$
0
0

Replies: 0

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)


Viewing all articles
Browse latest Browse all 59525

Trending Articles