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
  • Replies 1
  • Views 927
  • Created
  • Last Reply

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

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.