Custom CSS not working?

Posted in: Newspaper
Post count: 1

Hi there,

I want to change the background and padding on a heading2 within my Newspaper website. I placed this code in the custom CSS area:

.td-post-content h2 {
margin: 200px 20px;
background:#DCDCDC;
padding:10px 8px;
}

But it does not seem to work. Even if I change the backround color. Nothing seems to apply to the header 2 in the website.

Am I doing something wrong?

01
02

Post count: 20688

Hi,

I have tried the code that you mention on a h2 heading within the post content, and it is working for me
https://www.screencast.com/t/BLuNQZkOEEGN
It could be a caching problem, try clearing any installed cache. Then check if the code applies.

Thanks

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