Change Post Title Color For Post Templates

Posted in: Newspaper
Post count: 8

Hello,

For post templates where there is black over the featured image (e.g. Post Template 8) the title is white in the demo. My post title theme color is set to a dark grey/black in the theme panel. But in Post Template 8 the title is still dark, and I think it is supposed to switch to white. How do I make it white so it is legible? e.g.: http://stefaniephan.staging.wpengine.com/raw-chocolate-orange-cheesecake-chocolate-ganache-raw-vegan-paleo/

Thanks.

Post count: 22421

Hello,
The post title has a dynamic color if it’s left on default so it will change based on the post style. If you cahange the post style color, this dynamic color will be lost and you will have to set it with css for every particular post style. Your site requires a username and password so I cannot see it but this css should do the trick:
.td-post-template-8 .entry-title{
color:white!important;
}

Simply add the code in the theme panel, custom css box.
Thank you!

Post count: 8

Hi there,

The site should be accessible now. I want it to be dynamic, but it doesn’t seem to change for those templates that are on dark. Here is the example of Template Type 8: http://stefaniephan.staging.wpengine.com/raw-chocolate-orange-cheesecake-chocolate-ganache-raw-vegan-paleo/

Please let me know how to make it dynamic.

Thank you!

Post count: 22421

Hi,
If you change the title colors, then they will lose the dynamic color they will stay the color you set them to.
If you want to have a different color other than the default black, then you need css to assign a different color for certain blocks or post templates. You can use the code I provided above as it will change the titles to white on this template: http://screencast.com/t/vIS7ETGi2
Thank you!

Post count: 8

I have a related question. What is the css for specifying post title color of a certain category in a post page? Thanks in advance.

Post count: 22421

Hello,

If you want to change the color of a post title, you can do it with css, but this will not be an automatic process as css cannot detect the category used. You can change the title color for each post title in particular based on the post id, but in order to make it detect the primary category and make it change color based on category, it will require substantial coding knowledge. We cannot provide a quick solution for this unfortunately.
If you simply want to change the post title color with css, then you can use this code:
.postid-7619 .entry-title{
color:red!important;
}

You will have to change the post id to match your own. You can get the post id like so: http://screencast.com/t/BbtEZxNrxLF

Thank you!

Post count: 8

thank you.. i want to apply this to post belonging to a specific category — not just on a single post. Please advise how i can do this via css..

Post count: 8

or maybe you would like to consider this feature in the next release of the theme.

Post count: 22421

Hi,

Unfortunately as I have mentioned above, css does not know how to do that. You will need to use javascript to change the menu classes and add a specific one for each category. Unfortunately there is no easy solution for it. You will need custom work which we cannot provide at the moment. I will add your request to our list for future updates though.

Thank you!
Bogdan B.

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.