Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Block Spacer CSS

  • I have a layout using the spacer… Works PERFECT on a desktop, but the space is too much for a mobile. Is there no way to add CSS to the spacer? I’ve tried the “mobile icon” but unfortunately it changes for both views. Thanks in advance.

  • Hi Opus,

    We’ll need custom CSS to alter it for mobile. The “mobile icon” won’t work for this Block since it isn’t a GB Block. It’s a WordPress Block.

    For reference, can you share a link to a page where you have the spacer added?

  • Sorry for the late reply. See link below.

  • Try adding this through Appearance > Customize > Additional CSS:

    @media (max-width: 768px){
        .wp-block-spacer {
            height: 60px !important;
        }
    }

    You can alter the 60px value to your liking.

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