Jump to content

Vertical Center Alignment of Text to Image

Recommended Posts

Site URL: https://www.greenmet.com/

How do I vertically align text to images throughout the site for these split panels? I had to build these without the SS image block, so it is all misshapen when larger or smaller. 

 

I did find this code with worked for desktop, but the image disappears for mobile. 

/*Center Align to Images*/

section[data-section-id="622a687001f9814a1ed98657"] .sqs-layout .row {

  align-items: center;

}

section[data-section-id="622b6fff23b7fc611d7a1664"] .sqs-layout .row {

  display: flex;

  align-items: center;

}

Screen Shot 2022-03-15 at 10.48.54 AM.png

Screen Shot 2022-03-15 at 10.48.46 AM.png

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

I see block on homepage is fine. With other pages, if you share links, we can check & help easier. Each case will need a different code to solve.

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.