I try to override the <h1> style in WordPress using class but failed.
.block-h1 { font-size:13px; font-size:1.1em; line-height:13px; position:absolute; top:13%; left:6%; z-index:99; color: #E35094; !important;}
There is a tag <h1 class="block-h1">Hello</h1> in page, all style of block-h1 are removed when loading by WordPress and style is kept as the .post-content h1.
I do use the !important but not work.
!importantbut the way you're using it is incorrect. It needs to be after each rule. For example,color: #E35094 !important;