• Resolved rajk748

    (@rajk748)


    Hello,

    I am trying to decrease the font size in Pull Quotes. I tried using HTML code

    <blockquote class="alignright" style="font-size: 20px;">

    but it is giving me “This block contains unexpected or invalid content.” error.
    Any suggestions? Thanks

    Rajendra

    • This topic was modified 1 year, 10 months ago by rajk748.
    • This topic was modified 1 year, 10 months ago by rajk748.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Rajendra

    I am trying to decrease the font size in Pull Quotes. I tried using HTML code

    I would suggest using CSS to reduce the font size of the blockquote. You can use the code below to Appearance > Customiser > AdditIonal CSS

    /* Reduce block quote font size*/
    .wp-block-pullquote blockquote p {
        font-size: 2.2rem;
    }

    You can also add this plugin to your site which creates a custom CSS section to your editor. With this plugin active on your site you will not need to go to your Customiser to add CSS.

    PS: You can further change the font size by changing the 2.2 part of the code. I hope that helps.

    Thread Starter rajk748

    (@rajk748)

    Hi @thelmachido
    That worked beautifully. Thanks a lot!
    Marking the thread resolved
    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Decrease the font size in Pull Quotes’ is closed to new replies.