Jump to content

How do I add a colour block behind one piece of text on the homepage?

Recommended Posts

Hi. 

On 3/26/2021 at 5:03 PM, Charley14 said:

Site URL: https://www.violetjamesstudio.com/

Hi, 

I am trying to create this effect but can't work out how to add the grey colour behind this text? This is a jpeg that I have inserted as a photo, which pixelates slightly so ideally I would like to do it properly!

The website is www.violetjamesstudio.com

Thank you help.thumb.JPG.c54e85004a054c8ad54d29493b622d78.JPG

Hi. You can use Poster Block to achieve this. Or add a Text Block, then use this CSS (Design > Custom CSS)

#text-block-id {background: gray;}

Use this tool to find text block id.

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

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.