WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Blockquote style

[Resolved] Blockquote style

  • I am using the TwentyTen theme. I created my own child theme. I would like the blockquotes in the TwentyTen theme not to mess with italic, font, size, etc. I just want blockquote to indent.

    I tried putting this in the StyleSheet using the WordPress Theme Editor page:

    blockquote {
    padding: 0 3em;
    font-style: plain;}

    I also tried this:

    blockquote {
    padding: 0 3em;}

    Neither is working. How do I do this correctly?

    When I searched the archives for a fix what I found was things about making the blockquote more complex, popping up, wrapping, etc. I’m interested in simplicity.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Christine Rondeau
    Volunteer Forum Moderator

    @crondeau

    Try adding
    blockquote {
    font-style: normal;
    }
    You don’t even need the padding, since it’s in your parent theme.

    Thank you. I tried that but it didn’t work. I finally found that adding the following fixed it:

    blockquote {
    padding: 0 3em;
    font-style: normal;}
    blockquote i {
    font-style: italic;}

    Thanks for the tip on the padding. I hadn’t realize that inherited transparently. Works now. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Blockquote style’ is closed to new replies.