• Resolved shopmrmrs

    (@shopmrmrs)


    Hello,

    I am using two blocks widgets next to each other, but the spacing is very large between the widgets. How can I minimize the spacing so that it matches the width of the left & right padding?

    See screenshot here: https://i.imgur.com/qe5k8a3.png

    Thank you!

    Christine

Viewing 10 replies - 1 through 10 (of 10 total)
  • Could you please share me your site URL where it’s displaying so that i can help you?

    Thread Starter shopmrmrs

    (@shopmrmrs)

    Yes! The URL is https://build.shopmrmrs.com. Thank you!

    Theme Author OptimizerWP

    (@layerthemes)

    @shopmrmrs Try adding this to your Custom CSS:

    #optimizer_front_blocks-7 { margin-top: -40px;}

    Regards

    Thread Starter shopmrmrs

    (@shopmrmrs)

    @layerthemes Thank you! I tried it but the spacing was still a little wider than the vertical padding. When I changed it to -70px margin, the second row of photos cropped off the bottom of the top row. Is there a way to make the spacing even smaller without it cropping off the top row?

    Thanks!!

    Theme Author OptimizerWP

    (@layerthemes)

    Can you please remove that css and try this instead:

    #optimizer_front_blocks-6 .midrow_block{padding-bottom:0px;}
    #optimizer_front_blocks-7 .midrow_block{padding-top:0px;}

    Regards

    Thread Starter shopmrmrs

    (@shopmrmrs)

    Tried that and it didn’t work. Still has a large gap. ??

    You can see how it looks on the live page: https://build.shopmrmrs.com.

    Theme Author OptimizerWP

    (@layerthemes)

    Hi

    Insert this in Custom CSS

    #optimizer_front_blocks-7 .block_content p{margin-top:0;}
    #optimizer_front_blocks-6 .block_content p img,
    #optimizer_front_blocks-6 .block_content p{margin-bottom:0;}
    #optimizer_front_blocks-6 .midrow_block {min-height:250px !important;}

    Thanks

    Thread Starter shopmrmrs

    (@shopmrmrs)

    Thank you! This combined with my code below worked on large screens.

    .ast_blocks {margin: -7px;}

    Do you know how I can make that gap response so that it will remain small on smaller screens? When I shrink the screen, it maintains the minimum height of 250 px.

    See screenshot here: https://i.imgur.com/hz40N3U.png

    Thanks!

    Theme Author OptimizerWP

    (@layerthemes)

    Try adding this to your Custom CSS:

    @media screen and (max-width: 480px){
    #optimizer_front_blocks-6 .midrow_block {  min-height: 70px !important;}
    }

    Thanks

    Thread Starter shopmrmrs

    (@shopmrmrs)

    Perfect, thank you so much for all of your wonderful help!!! ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Minimize spacing between blocks widgets’ is closed to new replies.