Jump to content

Image block text not vertically aligning correctly

Recommended Posts

Posted

Site URL: https://goodhealthclinic.co.uk/

I have an 'Image Block' underneath my main nav bar at the top of my page with a subtitle on the left and some contact details on the right. I've set the text to align vertically centre, however it's not aligning correctly (see images). Some browsers are bearable, but some - like Safari - look terrible. 

Is there a  custom code injection I can add to always align the type vertically in the middle of my blue banner box?

The images are screenshots of two different browsers: Chrome and Safari.

Thanks

Screenshot 2020-12-15 at 08.21.24.png

Screenshot 2020-12-15 at 08.21.52.png

  • Replies 3
  • Views 1.3k
  • Created
  • Last Reply
Posted

Add to Home > Design > Custom CSS

div#page-section-5fd4a495313c42342b5fddda .span-12>.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
[data-section-id="5fd4a495313c42342b5fddda"] .content-wrapper {
    padding-top: 25px !Important;
}

--

Some feedbacks on your site

1. (Tablet) Some text on homepage a bit narrow. If you need to increase width, we can give the code.

Similar on Fees page. https://goodhealthclinic.co.uk/fees

and Contact Page. https://goodhealthclinic.co.uk/contact

2. (Mobile) Some pages have very long content. You can consider adding a back to top button.

 

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

  • 3 months later...
Posted

@tuanphan

The same thing is also happening to my website: psadesign.co.uk/home on the "What we do" heading on the homepage with the blue background. 

Any ideas what code I can use? It centres fine on mobile but not on desktop....

Thanks

Posted
On 3/29/2021 at 5:49 PM, ldavies said:

@tuanphan

The same thing is also happening to my website: psadesign.co.uk/home on the "What we do" heading on the homepage with the blue background. 

Any ideas what code I can use? It centres fine on mobile but not on desktop....

Thanks

You mean center this text?

Need advice? Ask one of our experts.

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.