[Support request] Want to remove space from container top

Home Forums Support [Support request] Want to remove space from container top

Home Forums Support Want to remove space from container top

  • This topic has 4 replies, 3 voices, and was last updated 5 months ago by Fernando.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2148466
    Sabbir

    Hi,

    I want to remove spaces from the container top.

    #2148584
    Ying
    Staff
    Customer Support

    Hi Sabbir,

    The WP columns block adds a margin bottom by default:
    https://www.screencast.com/t/POrxv98bO

    As you are already using GenerateBlocks plugin, try using Grid block from GB instead of the WP columns block.

    #2148989
    Sabbir

    I tried. but result same

    #2148994
    Sabbir

    What CSS Should use to remove this button margin?

    I like to use CSS here: https://prnt.sc/g5tLIPL7-RUP

    #2149008
    Fernando
    Customer Support

    Hi Sabbir,

    That space in your screenshot is space for CSS classes. You shouldn’t place CSS code there.

    For it to work, you can place a CSS class of your preference there and add your CSS code targeting the class in Appearance > Customize > Additional CSS.

    For instance, I added remove-bottom-margin here: https://share.getcloudapp.com/2NuzKb1p

    And then added this code in Additional CSS:

    .remove-bottom-margin {  
        margin-bottom: 0 !important; 
    }

    Here is an article with regards to adding CSS: https://docs.generatepress.com/article/adding-css/#additional-css

    As mentioned, adding it through additional CSS should work.

    Hope this clarifies. Feel free to reach out if you’ll need further assistance with regards to this. 🙂

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