[Resolved] GeneratePress styling for the standard WordPress Verse block: 2

Home Forums Support [Resolved] GeneratePress styling for the standard WordPress Verse block: 2

Home Forums Support GeneratePress styling for the standard WordPress Verse block: 2

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1144517
    Jim

    What CSS is required to:

    1. Remove the shading from the Verse block.

    2. Get the Verse block to preserve both line breaks and spacing within a line. Is it this?

    /* Verse Block: add the proper spacings */
    pre.wp-block-verse {
    white-space: pre;
    }

    Per: https://css-tricks.com/almanac/properties/w/whitespace/

    Thanks!

    #1144852
    Leo
    Staff
    Customer Support

    Hi there,

    1. Try this:

    pre.wp-block-verse {
        background: none;
    }

    2. Yup give that a shot.

    Let me know ๐Ÿ™‚

    #1146306
    Jim

    Works great! Thanks!

    #1146309
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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