Jump to content

vertically align text

Recommended Posts

  • Replies 7
  • Views 515
  • Created
  • Last Reply

Top Posters In This Topic

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 (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

My testing

image.thumb.png.d4a9f0188eb4c79763e4b2231a3ca816.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
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

Link to comment
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!)

Link to comment
  • 2 weeks later...
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!)

Link to comment
  • 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.