Jump to content

7.0 Cover Page: Add background color to text block

Recommended Posts

Site URL: https://www.decarbonista.world/challenge

Hi all,

I'm looking to add a semi-transparent background color to the content blocks (or at least the text blocks) in a Cover Page layout for a client. 

Website is: https://www.decarbonista.world/challenge

I've pasted in the code in the header of the Cover Page, but it doesn't seem to be working.  Code below.  Not sure what I'm doing wrong?  

<style>
#yui_3_17_2_1_1593622491163_415 {
background-color: rgba(0, 0, 0, 0.5);
 padding: 30px;
}
</style>

 

Thanks!

-Scott

Link to comment
  • Replies 2
  • Created
  • Last Reply

Add to Cover Page Setting

<style>
  .sqs-slide-wrapper[data-slide-type="cover-page"] .sqs-slice-group {
    background: rgba(0,0,0,0.5);
}
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.