[Support request] Weird padding issue

Home Forums Support [Support request] Weird padding issue

Home Forums Support Weird padding issue

  • This topic has 9 replies, 4 voices, and was last updated 1 month ago by Fernando.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2230785
    Christos

    Hi. Please check the page. Seems padding is applied in some containers while not in others. In mobile some containers when wrapped go to the edge of screen while others (with the same settings) look correct.

    #2231298
    Leo
    Staff
    Customer Support

    Hi there,

    Can you specify the containers we should be looking at here?

    #2231421
    Christos

    Example https://prnt.sc/RCiccdNCQgcO . Check in small screen

    #2231426
    Leo
    Staff
    Customer Support

    Can you try using the Grid block from GB instead of the columns block from WP core?

    It will allow you to have much better control of the layout:
    https://docs.generateblocks.com/article/grid-overview/

    #2231477
    Christos

    OK I will but why it works on other Containers on the same page, with columns?

    #2231483
    Leo
    Staff
    Customer Support

    I’m not sure. All of your source code is hidden because of the caching plugin so I can’t tell:
    https://www.screencast.com/t/CaljlyWdHmD

    My genuine advice would be to switch all of them to use GB’s grid block as you are already using GB.

    #2231537
    Christos

    You can add “?nowprocket” after the trailing slash and it will cancel caching. Example: http://www.example.com/?nowprocket

    #2231544
    Ying
    Staff
    Customer Support

    I checked your homepage, seems all paddings are working fine.

    Any specific one I should be looking at?

    #2231846
    Christos

    Hi. It works when shifting to Grid. However, why the standard WP lists work on all other pages?

    #2231857
    Fernando
    Customer Support

    Hi Christos,

    Looking at the Clients Page, I can see multiple WP columns Blocks and looking at them on a smaller screen, the evident spacing is this: https://share.getcloudapp.com/kpu8kd56

    Is this the weird spacing you’re referring to?

    If yes, this Spacing is coming from the default margin of the WP Columns Block. You would need custom CSS to fix this.

    The more efficient way is to use a Grid Block as mentioned by Leo. This Block would give you more control over the paddings and margins to prevent this from happening.

    Hope this clarifies! 🙂

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