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

Changing the background overlay on one section on mobile only



Site URL: https://triangle-keyboard-t5hz.squarespace.com

Hi - I am changing increase the overlay opacity on the top image on mobile only. This is the code I am using without success.

@media screen and (max-width: 640px) {
.section-background .section-background-overlay {
opacity: 0.3;

If anyone can tell me what I am doing wrong that would be great. I am getting a syntax error on the [data.. ] section. 

Thank you.

Password: WLAC


Link to comment
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

use this code

@media screen and (max-width: 767px) {
    [data-section-id="609aa62a18656e56660631b2"] .section-background-overlay {
        background-color: rgba(0,0,0,0.9) !important;


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

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