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
  • Views 279
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.