Jump to content

Add background colour to text box

Go to solution Solved by Spark-Plugin,

Recommended Posts

Posted

Site URL: https://www.aidegrossesse.org/home

We use the Version 7.0– Brine family (Basil template), and I am trying to add code to make the textbox over the image on our front page have a coloured background. I cannot find the code to do this. Can someone tell me the code and confimr if I need to add this to the Website Tools, Custom CSS section of the website builder?

  • Replies 2
  • Views 120
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution
Posted (edited)

Hi @AGQ! You can do that by adding the following code:

  1. Navigate to Pages > Website Tools > Custom CSS.
  2. Paste the code into the CSS editor.
  3. Hit Save and you’re done
 /* Customizes the block styling */
    #block-77b027ae732df2ee8d7d {
        background: #099 !important; /* Sets the background color */
    }

 

617_2x_shots_so.jpeg

Edited by Spark-Plugin

- Answered by Iuno from sparkplugin.com

forumsignature-recommendedcopy2.png.0579645eb1430dc7c1059541dc6456c6.png

Posted

Add this code into custom css and

#block-1235455 {
background:#0000;
}

change the id according to your text box id and change the color what you want.

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.