Jump to content

Edit padding of two different columns of text in one block on mobile

Recommended Posts

  • Replies 3
  • Views 476
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted
1 hour ago, hannahpellatt said:

Site URL: https://pentagon-snail.squarespace.com/work-with-me

A tricky one for you – I'm trying to work out how to fix the alignment of two sections of text within one block. On desktop, this block features two columns of text... on mobile, each block of text is shifted to one side...

Any thoughts/fixes are much appreciated.

Site password: kerri2021

Screenshot 2021-12-05 at 14.14.52.png

Screenshot 2021-12-05 at 14.15.02.png

Screenshot 2021-12-05 at 14.15.29.png

Do you mean setting 2 columns on mobile?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
17 hours ago, bangank36 said:

Do you mean setting 2 columns on mobile?

I'd like to keep them as single columns (which is how Squarespace has optimised them for mobile) but if you can see, they don't align. One has more spacing on the left, and the other has more spacing on the right?

Posted

@hannahpellatt Try adding to Design > Custom CSS

/* align mobile text */
@media screen and (max-width:767px) {
div#block-0f171667494385535c28 {
    padding-right: 17px !important;
    text-align: center;
}
div#block-yui_3_17_2_1_1638216628605_18278 {
    padding-left: 17px !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.