Jump to content

Vertically align specific part of page

Recommended Posts

Site URL: https://www.mistymountainyoga.com/yoga-membership-apply

I am looking to vertically align images and text across this page in the sections where they are side by side. I am using some CSS but it appears to be messing with the section "Testimonials" as well (moving the images out of top alignment). Any ideas on how to adjust the header, "Take yoga with you anywhere," and intro section without it also adjusting the testimonials?

 

Thank you!

Screen Shot 2021-08-31 at 11.32.40 AM 2.png

Link to comment

Add to Design > Custom CSS

/* align top 3 images */
@media screen and (min-width:992px) {
div#block-yui_3_17_2_1_1590014610938_70416+.row>.span-8>.row {
    display: flex;
    align-items: flex-start;
}
div#block-yui_3_17_2_1_1590014610938_70416+.row {
    display: flex;
    align-items: flex-start;
}
}

 

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!)

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.