Jump to content

CSS to to add background colour and extend text block to full width

Recommended Posts

Posted

Site URL: https://nickwphotography.com/about

Hey Guys, I'm hoping someone can help. I'm trying to target a particular text block on my website to chaneg the background colour and make that colour go full width on both desktop and mobile but still ensure that the text itself remains a constant width as per the rest of the site. Maybe with aprameters so I can easily adjust padding aroudn that text etc. It's on this page https://nickwphotography.com/about and is the text block a 'few wedding phoography FAQs'

I've targeted the block to: #block-yui_3_17_2_1_1599817959383_39841

Thanks for any help!

  • Replies 3
  • Views 461
  • Created
  • Last Reply
Posted

I've attached an image of what I'm trying to learn how to achieve. A block of colour that I can sit behind a text block which expands full browser width but doesn't adversley effect the text block above it. hope that makes sense and thank you so much for getting in touch!
 

Screen Shot 2020-09-13 at 11.56.43.png

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.