[Support request] Weird spacing issues on buttons and whatnot

Home Forums Support [Support request] Weird spacing issues on buttons and whatnot

Home Forums Support Weird spacing issues on buttons and whatnot

  • This topic has 9 replies, 3 voices, and was last updated 2 years ago by David.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2164561
    Chip

    I have weird spacing issues on buttons and other items in GP.
    I’m not sure what’s causing them and never experienced them in similar setups before.
    Can someone please take a look?

    #2164635
    David
    Staff
    Customer Support

    Hi there,

    the GenerateBlocks buttons, if you select the buttons wrapper you can give it some bottom margin:

    2022-03-23_13-30-36

    #2174391
    Chip

    That’s definitely not the issue.
    All the wrappers are intact but something is causing the button to drop down a bit.

    #2174829
    Ying
    Staff
    Customer Support

    Hi Chip,

    Do you mean the margin below the image block?
    https://www.screencast.com/t/PDFnZqTxf9L

    If so, it’s not related to the button, but the image block.

    You can use this CSS to remove the default margin:

    .entry-content .wp-block-image {
        margin-bottom: 0 !important;
    }
    #2179790
    Chip

    That didn’t solve it either, as you can see in the private info πŸ™‚
    Also, changing the number doesn’t affect anything – it’s either stuck to the image above or it has the exact same spacing as before.

    #2179798
    David
    Staff
    Customer Support

    If you refer to the image i provided here:

    https://generatepress.com/forums/topic/weird-spacing-issues-on-buttons-and-whatnot/#post-2164635

    Check the left hand side showing the Block List – make sure you select the outer Buttons block not the inner button and add Top and Bottom Margin. This will put space around the button.

    #2179804
    Chip

    No, something is causing every button that I create to have that spacing issue.
    There’s no spacing added to either of the blocks you refer to.

    #2179811
    David
    Staff
    Customer Support

    And that is the issue – there is NO margins – you need to add some πŸ™‚

    #2179818
    Chip

    Ah that seems to have fixed the issue πŸ™‚

    #2180007
    David
    Staff
    Customer Support

    Glad to hear that !

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