Jump to content

Formatting Fonts in image blocks (poster) Vertical center align

Recommended Posts

Site URL: http://switch.squarespace.com

Need help with the following- 

  1. vertical centering the text in all 3 boxes
  2. making it so it doesn't overflow the boxes when they're sized down (see image 2)
  3. Changing the font color in box 1 & 3 to black but keeping font white in center box

(maybe a better way to say this: i basically want it to look like the first image at all times, but with black text over the 2 white boxes)

thanks in advance for any help you guys can throw my way!! 🙏🙏

2140912035_ScreenShot2020-04-14at12_58_15PM.thumb.png.3112aaf0757c5583c2807daed95be90d.png1106217573_ScreenShot2020-04-14at12_58_30PM.png.117cba33a1e7db5f31a701160ee4e437.png 

Link to comment

Add to Home > Design > Custom CSS

div#block-yui_3_17_2_1_1586818319104_30084+.row>.span-4:first-child *, div#block-yui_3_17_2_1_1586818319104_30084+.row>.span-4:last-child * {
    color: black;
     background-image: linear-gradient(to right, black, black);
}
/* align */
div#block-yui_3_17_2_1_1586818319104_30084+.row>.span-4:first-child .image-subtitle.sqs-dynamic-text, div#block-yui_3_17_2_1_1586818319104_30084+.row>.span-4:last-child .image-subtitle.sqs-dynamic-text {
	display: flex;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.