Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Background overlay behind text


Elise__

Question

Site URL: https://mandarin-violin-mjw7.squarespace.com/

Hello everyone, 

I have an overlay for my background on the home page. However the title and text is disappearing behind the overlay. How do I adjust the site so that the overlay is behind the text? 

password: elise

Many thanks in advance. 

/**** HOMEPAGE ****/
/* Section 1 */
/* Section 1 gradient */
section[data-section-id="60ef53636ebc0620d8effd57"]
.section-background .section-background-overlay
{width:100%; opacity: 100%! important;
  background: linear-gradient(to right, rgb(216, 188, 171), rgba(0,0,0,0), rgba(0,0,0,0));
  z-index: 1;}
/* Header gradient */
.header-announcement-bar-wrapper.black,  {width:100%; opacity: 100%! important;
  background: linear-gradient(to right, rgb(216, 188, 171), rgba(0,0,0,0), rgba(0,0,0,0));
  z-index: 1;}

 

Link to comment

4 answers to this question

Recommended Posts

  • 0
20 hours ago, Elise__ said:

Hi @tuanphan,

 

Could you still help with this?

Add to Design > Custom CSS

h2 {
    position: relative;
    z-index: 9999;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0
14 hours ago, Elise__ said:

Site URL: https://mandarin-violin-mjw7.squarespace.com/

Hello everyone, 

I have an overlay for my background on the home page. However the title and text is disappearing behind the overlay. How do I adjust the site so that the overlay is behind the text? 

password: elise

Many thanks in advance. 

/**** HOMEPAGE ****/
/* Section 1 */
/* Section 1 gradient */
section[data-section-id="60ef53636ebc0620d8effd57"]
.section-background .section-background-overlay
{width:100%; opacity: 100%! important;
  background: linear-gradient(to right, rgb(216, 188, 171), rgba(0,0,0,0), rgba(0,0,0,0));
  z-index: 1;}
/* Header gradient */
.header-announcement-bar-wrapper.black,  {width:100%; opacity: 100%! important;
  background: linear-gradient(to right, rgb(216, 188, 171), rgba(0,0,0,0), rgba(0,0,0,0));
  z-index: 1;}

 

Hi. The site is expired. You can contact Squarespace Customer Care to extend it (free)

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

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...