[Support request] Padding for different parts of content (on mobile)

Home Forums Support Padding for different parts of content (on mobile)

  • This topic has 1 reply, 2 voices, and was last updated 10 months ago by David.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1067229
    Mukhtar

    Hello.

    I have a specific page where i am using a plugin shortcode on my website. I would like this page to only display the shortcode aspect of it as full width, leaving the general block text to be contained with the padding as default.

    The shortcode displays images of property listings. At the moment, on default, it squishes the images down, but leaves the text with padding (which is okay).

    If i add an layout element with the option “Contained (no padding)” the images are full width (how i want it) but so to is the text.

    How do i make it so the text block has padding but the shortcode part section doesn’t.

    Thanks

    #1067352
    David
    Staff
    Customer Support

    Hi there,

    simplest way is to use GP Sections:

    https://docs.generatepress.com/article/sections-overview/

    Each section can be set to full width or contained.

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