Changing Background Color For Post

Posted in: Newspaper
Post count: 42

Is it possible for me o change my background color to pink for post instead of white. I do not seem to see that option. I would like to have my text in black and background in pink. Can I do it? Seems this theme not giving us all the options!

Post count: 20688

Hi,

There is no theme setting to change the post content background if that is what you mean, so if you want to set a background color to the post content, it has to be custom. You have to identify the elements on the page using your browser inspector – https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/ and set a background color to them like in this example – https://www.screencast.com/t/UB8rYgCFP7 As for the post text color you can set it in Theme panel – https://www.screencast.com/t/XRynHaQu4zFG Please correct me if I misunderstood what you wanted.

Thanks

Post count: 42

Thanks. I tried it but I got lost. The color you used was exactly what I wanted. But I don’t have CSS knowledge so I got lost. Thank you.

Post count: 20688

Hi,

I used this code to make those changes, it will set a background color to those elements only on the single post page – https://www.screencast.com/t/HwEdyXYe2sjvhttps://www.screencast.com/t/dQAWtoBM When and if you identify more items you want to set a background color on, just add them to the code (careful to use the right css syntax)

.single .td-pb-row,
.single .td-main-content-wrap {
background-color: pink;
}

The code must be entered in Theme panel->Custom Css – https://www.screencast.com/t/AwIZ0nqXb7
Thanks

Post count: 42

Thank you so much. I was able to successfully customise my website background color from the custom css.

But I realised that it does not reflect on the mobile.

How can I make the same background color show on the mobile?

Lasty.

I often want to have a kicker (word used before my article title, that does not show on the main article itself, but only shows on Facebook).

For instance, having (Breaking News) before my title.

Is it possible to achieve that with this theme?

For instance:

Breaking news: A is declared champion.

Post count: 42

Also, I forgot this. Can I have that same colour on the home page? How?

Post count: 20688

Hi,

I see that there is a background color at the moment on the mobile responsive version – https://www.screencast.com/t/8PyvgHwopif You can have that background on the homepage as well, by removing the .single class from the code provided above and it should work. From what I understood you wanted it only for the posts, so just make the modifications to have it apply on the homepage too.
About the post title, the theme does not have a feature like that, but you could search for some plugins that have that functionality and try a few of them out.

Thanks

Post count: 42

Thank you so much Simlon, I just got a plugin for breaking news. But I do not where to remove .single from the code.

Post count: 42

Successfully done. Thank you. Not sure it looks very nice that way. Will see if I should keep it. Grateful.

Post count: 42

I have been trying to install read more plugin, but with this theme, it’s not working. and the wordpress fix that allows us to insert a code is not also working. is there a way I can make it work?

Post count: 20688

Hi,

If you followed the plugin installation instructions and it is not working properly, maybe the plugin is not compatible with the theme. Try a different one instead, you could find one that works properly.
There are blocks in the theme that have the Read more button displayed. All the block can be found here (use selection on the right)
https://demo.tagdiv.com/newspaper/block-1/

Thanks

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