Jump to content

Five: Add Background Gradient

Recommended Posts

Posted

Can anyone help with the CSS to add a gradient color to the background of FIVE?

  • Replies 7
  • Views 10k
  • Created
  • Last Reply
  • 6 months later...
Posted

In the template you are using, you could try this code (changing colours if needed)


#body  {
         background: -webkit-linear-gradient(blue, white); /* For Safari 5.1 to 6.0 */
         background: -o-linear-gradient(blue, white); /* For Opera 11.1 to 12.0 */
         background: -moz-linear-gradient(blue, white); /* For Firefox 3.6 to 15 */
         background: linear-gradient(blue, white); /* Standard syntax */
       }

This worked in the bedford template and maybe others:


#siteWrapper  {
     background: -webkit-linear-gradient(red, blue); /* For Safari 5.1 to 6.0 */
     background: -o-linear-gradient(red, blue); /* For Opera 11.1 to 12.0 */
     background: -moz-linear-gradient(red, blue); /* For Firefox 3.6 to 15 */
     background: linear-gradient(red, blue); /* Standard syntax */
   }

I got this code from http://www.w3schools.com/css/css3_gradients.asp

Posted

Can someone walk me through the steps to insert the code above to insert a gradient blue/white background into Bedford? I would really appreciate it.

Posted

Can someone walk me through the steps to insert the code above to insert a gradient blue/white background into Bedford? I would really appreciate it.

  • 3 years later...

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.