Jump to content

Vertically aligning one box next to multiple

Recommended Posts

Site URL: https://www.inclusion.health/__-services

Hi,

I have 2 side-by-side sets of things. On the left is 1 text box. On the right are a text box with an image underneath. I'm trying to get the left text to center against the right 2 boxes. Spacers don't retain the center alignment with different screen sizes. I've tried a few CSS things I'm finding on the forum but none are working.

An example is in the attached image. I want the 3 on the left to be centered/vertically in the middle  of the text and image on the right.

Please help!!

Screen Shot 2021-04-09 at 9.15.57 AM.png

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hi. Add to Design > Custom CSS

/* Center vertical number */
@media screen and (min-width:768px) {
div#page-section-60706e48b612d7775ae241af>.row, div#page-section-60706e48b612d7775ae241af .span-12>.row, div#block-yui_3_17_2_1_1617981559550_17941+.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

}

 

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.