Jump to content

Code Blocks spacing problem

Go to solution Solved by tuanphan,

Recommended Posts

Posted

I am trying to build a 3-column layout with a mix of twitter and instagram posts (not mine). I use a series of code blocks, added in the correct (?) order - all the first column top-to-bottom, then all the second column, etc.

The code itself is standard 'embed code' provided by twitter and instagram.

When I am in edit mode the spacing makes sense. But once saved, some blocks get a huge extra spacing between them. But this is not consistent and I can't figure out a fix. It used to work ok in 7.0 so I'm thinking this might be related to the new grid engine.

Everything looks great in mobile view too, where all 3 columns become one single full-width column.

Any ideas how to fix this ? I don't think I have the option to go back to the 7.0 section.

Thanks 

CleanShot2024-05-09at16_40.19@2x.thumb.png.205253b68a9ad0001cbb39484c61d8b3.pngCleanShot2024-05-09at16_39.56@2x.thumb.png.6623702d4f32ac11b8884344b64066c8.png

  • Replies 4
  • Views 1.7k
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...
  • 2 weeks later...
Posted
On 6/20/2024 at 8:33 AM, tuanphan said:

I tried some CSS code but can't fix problem. 

You can consider combine some Code Blocks into 1 Code Block. For example these items

image.thumb.png.e88717d59241a8bfd7a2182aaa988f23.png

Ah yeah that will do it. Thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.