WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Blockquote style (3 posts)

  1. pubwvj
    Member
    Posted 2 years ago #

    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.

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

  3. pubwvj
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.