How can I increase quote font size?

  • Author
    Posts
  • #155930
    metbaseball
    Member

    How can I increase the size of the font in quote blocks?

    A post with quotes is here.

    The blog I need help with is: (visible only to logged in users)

    #155933
    binarymoon
    Theme Author

    Hi there, you can do that with:

    .wp-block-pullquote p, .wp-block-quote p {
        font-size: 100%;
    }

    Thanks – Ben

    #155955
    metbaseball
    Member
    Original poster

    Ben,

    I made the change. Thanks.

    When looking at my customized CSS code, I noticed that some lines of code start with a dot, as in

    wp-block-pullquote p, .wp-block-quote p {

    and some don’t. What purpose does the dot serve? When is it needed?

    On a separate note, how can I put a border around all images? In my post at https://batsandstats.com/2020/05/29/cy-young-lives-on/ I noticed that the Mike Marshall image does not seem to have a border.

    Howard

    #155958
    binarymoon
    Theme Author

    Hi Howard

    The dot is used in css to select elements that have a class with the name that follows. In the code you pasted above, there is a dot missing, but it’s there in my code, so it looks like it wasn’t copied. If you add it then it will work for all quote blocks (blockquote and pullquote).

    Thanks – Ben

  • The topic ‘How can I increase quote font size?’ is closed to new replies.