Jump to content

vertically align text

Recommended Posts

  • Replies 7
  • Views 674
  • Created
  • Last Reply

Top Posters In This Topic

Posted
49 minutes ago, rosa-h said:

Site URL: https://grouse-tuatara-8twd.squarespace.com

Hi! 
I want to vertically align a text block next to an image on my site. 

https://grouse-tuatara-8twd.squarespace.com
password: stamou22

I'd be so thankful for any tips! 

image.png

image.png

Try adding to Home > Design > Custom Css

section[data-section-id="6212acdfe0a8163324cd6fa3"] .sqs-layout > .row {
  display: flex;
}

section[data-section-id="6212acdfe0a8163324cd6fa3"] .sqs-layout > .row > .span-7 {
  display: flex;
}

Let me know how it works on your site

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
17 hours ago, bangank36 said:

Try adding to Home > Design > Custom Css

section[data-section-id="6212acdfe0a8163324cd6fa3"] .sqs-layout > .row {
  display: flex;
}

section[data-section-id="6212acdfe0a8163324cd6fa3"] .sqs-layout > .row > .span-7 {
  display: flex;
}

Let me know how it works on your site

Hi, Thank you for getting back to me! I have already used another solution for the homepage. However, I would love to try this on the other page as I have the same issue there. Are you using the data section id?
I have tried to alter the code you have provided accordingly, but unfortunately that didn't wok. 

https://grouse-tuatara-8twd.squarespace.com/die-philosophie
password: stamou22

The code I tried: 

section[data-section-id="622f634388486d6bcd1006bf"] .sqs-layout > .row {
  display: flex;
}

section[data-section-id="622f634388486d6bcd1006bf"] .sqs-layout > .row > .span-7 {
  display: flex;
}

 

Screenshot 2022-04-28 at 11.47.39.png

Posted
On 4/28/2022 at 4:50 PM, rosa-h said:

Hi, Thank you for getting back to me! I have already used another solution for the homepage. However, I would love to try this on the other page as I have the same issue there. Are you using the data section id?
I have tried to alter the code you have provided accordingly, but unfortunately that didn't wok. 

https://grouse-tuatara-8twd.squarespace.com/die-philosophie
password: stamou22

The code I tried: 

section[data-section-id="622f634388486d6bcd1006bf"] .sqs-layout > .row {
  display: flex;
}

section[data-section-id="622f634388486d6bcd1006bf"] .sqs-layout > .row > .span-7 {
  display: flex;
}

 

Screenshot 2022-04-28 at 11.47.39.png

Try this new code

@media screen and (min-width:768px) {
div#page-section-622f634388486d6bcd1006bf>.row {
    display: flex;
    align-items: center;
}}

 

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

  • 2 weeks later...
Posted

Hi, Thank you for this! I have applied the code you've provided and now the left image is now out of alignment. How can I dress this?

image.thumb.png.3d5723e6d9c428a959c52cf55bfc0101.png

Posted
On 4/28/2022 at 4:50 PM, rosa-h said:

Hi, Thank you for getting back to me! I have already used another solution for the homepage. However, I would love to try this on the other page as I have the same issue there. Are you using the data section id?
I have tried to alter the code you have provided accordingly, but unfortunately that didn't wok. 

https://grouse-tuatara-8twd.squarespace.com/die-philosophie
password: stamou22

The code I tried: 

section[data-section-id="622f634388486d6bcd1006bf"] .sqs-layout > .row {
  display: flex;
}

section[data-section-id="622f634388486d6bcd1006bf"] .sqs-layout > .row > .span-7 {
  display: flex;
}

 

Screenshot 2022-04-28 at 11.47.39.png

The url doesn't exist. Can you check it again?

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

  • 2 weeks later...

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.