Regarding font color change in titles

Posted in: Newspaper
Post count: 38

Hi,

We have recently installed ‘Newspaper’ theme to our website 123telugu.com, every thing is working fine, but we are unable to change the font color to some part of the post titles (to highlight particular word), in our older theme, we used to have the option of color

example : New Photos : Lakshmi

we used code like : <font color = ‘red’> New Photos </font> : Lakshmi

with this ‘New Photos’ display in Red color and ‘Lakshmi ‘ in regular black color , in the new theme we unable to get the font color red

here is the sample screen shot, please check once and help us on this.

Old Theme : https://www.123telugu.com/test/Newspaper_theme.JPG
New Theme : https://www.123telugu.com/test/Old_theme.JPG

Thanks

Post count: 20688

Hi,

That will not work with our theme. You could color the whole article title link with CSS, but not parts of it.
You could try something like this for the module you use, example for module 8 you are using (block 9)
https://www.screencast.com/t/IeVoe9rWDnL

<?php echo str_replace('|','<span>', $this->get_title($title_length)). '</span>';?>

What it does is that you can for example create the post title like this
https://www.screencast.com/t/rrbJ6pnjtJB
When you place that “|” character in the post title a span will be created. You can use that and style the text that follows
https://www.screencast.com/t/AgBQaxJHYc

.td_module_8 .entry-title span {
color:yellow;
}

Module files can be modified in a child theme
https://forum.tagdiv.com/the-child-theme-support-tutorial/

Custom CSS code can be entered in the Theme panel->Custom CSS code section

This would be a solution if you should consider it.

Thanks

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