Rafael Carrasco
asked 10 years ago

I want change de h2 CSS style but only in post text. When i change h2 with Jetpack in CSS editor a lot of text i home was changed. Also i want to change blockquote in text post. I can change some things but another like font size don’t change in preview when i write something like this: blockquote {
font-size: 18px;
color: #1c49a7;
text-align: right;
background-color: ;
margin: 20px;
padding: ;
} Thanks.  

3 Answers
DominicStaff
answered 10 years ago

– You can tell me detail about position the <H2> tag that you want to change, please send me a screenshot for further checking.
– To change the Blockquote in the DW focus, you can add the following code to the Editor CSS:

blockquote p {
font-size: 18px;
color: #1c49a7;
text-align: right;
background-color: ;
margin: 20px;
padding: ;
}

Hope this helps !

Rafael Carrasco
answered 10 years ago

I want edit h2 style on the post text but not at the home. Only in the post text. When i edit with CSS editor h2 the changes are in home too.
I want to change this style.
Thanks!

DominicStaff
answered 10 years ago

If you want to change style for the <H2> tag in the single posts, you can add the following code to the Editor CSS:

.single-post .entry-content h2 {
    color: #789785;
    font-size: 10px;
    font-weight: bold;
    line-height: 17px;
}

Hope this helps !

Rafael Carrasco
replied 10 years ago

Thanks! It works!
However when i put
.single-post .entry-content blockquote {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 24px;
color: #000000;
text-align: right;
}
The color and de align is ok but de size of the font don’t change.
Could you help me?
Thanks,
Rafa

Dominic Staff
replied 10 years ago

You can try with the following code:
.single-post .entry-content blockquote p {….}

Rafael Carrasco
replied 10 years ago

Works fine!
Thank you!

Powered by DW Question & Answer Pro