Jump to content

Horizontally aligning three blocks in a section

Recommended Posts

Site URL: https://www.soof.design/

Hi guys!

I need help horizontally aligning an image, text block and a button in a section on my website. I'm a beginner CSS-er, and I wouldn't know where to start generating custom code for this. My website is: https://www.soof.design/ The section I'm talking about is this green one:
 

image.thumb.png.565b2b96d0da862fc7c4fbb96e95f5bd.pngA horizontal alignment on desktop and tablet, and a vertical alignment on mobile is what I'm aiming for. I would love it if someone could point me in the right direction to a solution.

Cheers and thanks,
Sophie

Link to comment
  • Replies 1
  • Views 726
  • Created
  • Last Reply
On 11/30/2020 at 6:14 PM, SophieTW said:

Site URL: https://www.soof.design/

Hi guys!

I need help horizontally aligning an image, text block and a button in a section on my website. I'm a beginner CSS-er, and I wouldn't know where to start generating custom code for this. My website is: https://www.soof.design/ The section I'm talking about is this green one:
 

image.thumb.png.565b2b96d0da862fc7c4fbb96e95f5bd.pngA horizontal alignment on desktop and tablet, and a vertical alignment on mobile is what I'm aiming for. I would love it if someone could point me in the right direction to a solution.

Cheers and thanks,
Sophie

I can only help align them on mobile

@media only screen and (max-width: 640px) {
    #etsy-shop .sqs-block-button .sqs-block-button-container--right {
        text-align: center;
    }
}

image.png.083e90359620e0547a15be96d165487c.png

since you placed the element on strange column order, I may need to access page editor to fix on desktop to make it align in middle. invite me as collaborator to help if you need bangank36@gmail.com

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.