how to change Color for H2, H3, H4 headings

Posted in: Newspaper
Post count: 26

I want to give different color to my H2, H3, H4 headings. Can anyone tell me how to do this.?
Thanks in advance.

Post count: 21065

Hello @toppersworld !

Change their color from the Classic editor when you edit your articles.
Also, you can add CSS code.

Thank you!

Post count: 26

Can you give me the CSS code to add?

Post count: 21065
Post count: 26

I have added the below css code in my website. It is working fine in firefox browser but NOT working in Chrome and Edge browser. How to make the code compatible in other broswers.

.tdi_53 .tdb-title-text {
color: #006400; /* Change this to your desired dark green color code */
}
.tdi_72 h2 {
color: #FF0000; /* Red */
}
.tdi_72 h3:not(.tds-locker-title) {
color: #0000FF; /* Blue */
}

.tdi_72 h4 {
color: #008000; /* Green */

}

Post count: 21065

Hello @toppersworld !

Please do not use these IDs: .tdi_72, .tdi_53.

Thank you!

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