Jump to content

CSS Not Working on live but it does in editor

Recommended Posts

Hi!

Im trying to change the color and alignment of a text-box of an image element.

This is my CSS code:

*{
font-family: Maven Pro;
}
.header-nav { visibility: hidden; }

.scrollup {
 width: 40px;
 height: 40px;
 display: block;
}

.image-card-wrapper{
  filter: drop-shadow(2px 4px 8.5px #C0C0C0);
}

//Alignment change

p{

text-align: justify;

}

// The color change
.white-bold
.sqs-block-image
.design-layout-collage
.image-card {
    background-color: white;
}
 

In the editor y have no problems, i see it perfectly aligned and the color changed but on live these changes aren't applied (the rest, like the scrollup and the shadow yes).

I checked syntax and no problems or warning.

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Please show us your current live site url

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Try !important;

example

.white-bold .sqs-block-image .design-layout-collage .image-card {
    background-color: #fff !important;
}

 

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

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.