Change text color

Posted in: Newspaper
Post count: 187

If I choose to make the background of a block darker (say black for example) how can I change the color of the text only in that block?

Thanks

Post count: 22421

Hello,

If you want to change the color of the text in that particular block, you will have to assign an extra class to the block: https://www.screencast.com/t/dG5p6LNV7eF
Then you can use the custom class to target the block with css and change the colors for that block in particular.
For my example the code would be:

.mycustomclass .td-module-title a, .mycustomclass .td-excerpt, .mycustomclass .td-post-author-name a{
color:white!important;
}

Thanks.

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