Jump to content

Centered Vertical

Recommended Posts

Site URL: https://purple-grouper-3frb.squarespace.com

Hi there,

I recently just added some CSS codes from looking through these forums to vertically align some text boxes to the centre of the image to their left or right.

The alignment is working as intended, but when viewing on mobile, all of the images are disappearing. Wondering if someone would be able to provide guidance?

Password to view is: Goodwood!

Screen Shot 2022-03-28 at 12.51.49 AM.png


Link to comment
  • Replies 5
  • Views 322
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

3 hours ago, ZachGallant5 said:

Thanks, tuanphan!!

Actually, that would be great if you know how to fix the image/text order! Thank you!

Add to design > Custom CSS

/* mobile image text order */
@media screen and (max-width:767px) {
/* mini golf */
div#block-yui_3_17_2_1_1648317918059_18659+.row {
    display: flex;
    flex-direction: column-reverse;
/* golf lessons */
div#page-section-623f46893b7c21354bc9e670>.row:nth-child(4) {
    display: flex;
    flex-direction: column-reverse;
/* header image */
[data-section-id="62479e78021a6a7bcf62d1f4"] {
    min-height: unset !important;


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.