Change Category Text Color

Posted in: Newspaper
Post count: 84

I’m wanting to do custom colors for each category.

I have a category that is Yellow, but you cannot read the White text on a yellow background.

What css would I change in order to turn it black on that category?

It is Category 1

Post count: 3343

Hi,
Please provide me a link or show me a screenshot for better understand the issue.

Thanks!

Post count: 84

@Marius – Here is what I am talking about:

View post on imgur.com

You can see that the font color (which is white) doesn’t show through. Where can I change that color to black?

I am having each category be a different color to help my viewers tell which category they are looking at.

Post count: 7909

Hi,

Theme doesn’t have an option to change the text color of a specific category tag. You can try this custom css in Theme Panel > Custom Css and set a general color for categories – http://screencast.com/t/AqiJSvTwd

.td-category a {
color: #222222;
}

Thanks!

Post count: 84

@Alin – Will that change for EVERY category or can this be limited to a single category?

Like I would like this to just cover Category1

Post count: 3343

Hi,
The problem is more deeper than that, because you are there on a post page(single) and if you have more categories will change the color for all categories. Is needed the categories box to have a unique selector to catch only the desired one.

You need to edit like here to output the category slug as selector:

,'cat_slug' => $td_parent_cat_obj->slug
,'cat_slug' => $category->slug

td-' . $td_cat_parms['cat_slug'] . '

http://screencast.com/t/zuhr7AwhCFO

Then add the selector for the categories like here:
Inspect your category and copy the selector http://screencast.com/t/laSgnyAsph and add it in CSS

.td-tagdiv-travel a {
color:#000;
}

Result: http://screencast.com/t/rGskHwPHZw3

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.