[Support request] Reduce space between block quote and citation

Home Forums Support [Support request] Reduce space between block quote and citation

Home Forums Support Reduce space between block quote and citation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1609946
    Linda

    Hi Support and Happy New Year,

    I’m still struggling with CSS! I would like to reduce the space between a block quote and its citation.

    Would I use the class I saw when I checked its HTML, ie., “wp-block-quote”? If so, since it will apply whenever I use a block quote, does the CSS go in Customizer? Finally, what should the actual CSS be?

    Thanks for your help,

    Linda

    #1610074
    Ying
    Staff
    Customer Support

    Hello Linda,

    You could add a class eg. block-quote for the block quote you are using in block editor:
    https://www.screencast.com/t/zboaTqSGhqq

    Then use CSS to remove or reduce its bottom margin:

    .block-quote {
        margin-bottom: 5px; /*you can adjust this number*/
    }

    And this is where you copy paste the CSS in Customizer:
    https://www.screencast.com/t/mX9nnokb

    Let me know πŸ™‚

    #1610203
    Linda

    Hey, Ying, that’s perfect! Really appreciate you creating screencasts to show me exactly what to do. πŸ™‚

    Will post back how I do as soon as I give this a try (likely in a few days … too much year end leftover on the plate currently!!).

    Thanks again,

    Linda

    #1611275
    Ying
    Staff
    Customer Support

    No problem Linda πŸ™‚

    Let me know if you need further assistance.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.