How to add background colour for post title with post template style 8?

Posted in: Newspaper
Post count: 9

Hi,

I am facing some post title display issue with post template style 8 if my featured image is white. Since the title also in white colour ,thus if the featured image also white then cannot see the post title. It is ok only if the image is darker colour.

problem_img

What I expected is to add a background colour for the post title so that although my featured image is in white colour, the post title still able to be seen. What I expected:

expected_img

May I know how to achieve this?

Thank you.

Best Regards.

  • This topic was modified 10 years by mabrell.
Post count: 23312

Hello mabrell,

For achieving that, you have to use a bit of CSS. Please try the code below and add it in Theme panel->Custom CSS area. Below I gave you an example for module MX5. You have to implement this code for your modules that you are using in the theme and see how it works on your side. Here you can see the list to the modules used in blocks -> http://screencast.com/t/hd1pe4Mi

The code is ->

.td_module_mx5 .entry-title {
background-color: rgba(77,178,236,.7);
}

Hope this helps!

Thank your for the message!

Post count: 9

Hi, thanks for reply.

However, I am looking for how to change for the POST TEMPLATE style 3 title background colour, not block.

This is single post template title background colour, may I know where is the css code for title background colour post template style 3? May I know how to change it?

Thanks.

Post count: 23312

Hello

Please try the code below and add it in Theme panel->Custom CSS area.

The code is ->

.td-post-template-3 .entry-title {
background-color: rgba(77,178,236,.7);
}

The result -> http://screencast.com/t/eaPUxAZaao3p

Thank you for the message!

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