Jump to content

Error with drop shadow effect on hover for gallery images | Brine 7.0

Recommended Posts

Site URL: https://www.americanpacificgroup.com/experience

Hi there! 

I recently started working with a new client who had their site built by another web designer using the Brine template in 7.0.

On the site's experience page, my client would like a drop shadow to appear when the image in the gallery block is hovered over. And usually, the CSS that the past designer used seems to work perfectly fine (see first screenshot). However, I've noticed that when I'm using Chrome, these black lines appear around the images (see second screenshot). Any idea why this may be happening and how I can fix it? 

https://www.americanpacificgroup.com/experience

Thanks in advance!

HoverWorking.png

BlackLines.png

Link to comment
10 hours ago, NMDesigns said:

Site URL: https://www.americanpacificgroup.com/experience

Hi there! 

I recently started working with a new client who had their site built by another web designer using the Brine template in 7.0.

On the site's experience page, my client would like a drop shadow to appear when the image in the gallery block is hovered over. And usually, the CSS that the past designer used seems to work perfectly fine (see first screenshot). However, I've noticed that when I'm using Chrome, these black lines appear around the images (see second screenshot). Any idea why this may be happening and how I can fix it? 

https://www.americanpacificgroup.com/experience

Thanks in advance!

HoverWorking.png

BlackLines.png

try

.sqs-gallery-design-grid .margin-wrapper {
    transition: box-shadow .5s,transform .5s;
    transition-property: box-shadow, transform;
    transition-duration: 0.5s, 0.5s;
    transition-timing-function: ease, ease;
    transition-delay: 0s, 0s;
    background: transparent;
    color: #fff;
}

image.png.e649ad537d4cd0a6d211c0a510653416.png

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, Lightbox Studio plugin
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
On 3/13/2021 at 5:16 AM, bangank36 said:

try


.sqs-gallery-design-grid .margin-wrapper {
    transition: box-shadow .5s,transform .5s;
    transition-property: box-shadow, transform;
    transition-duration: 0.5s, 0.5s;
    transition-timing-function: ease, ease;
    transition-delay: 0s, 0s;
    background: transparent;
    color: #fff;
}

image.png.e649ad537d4cd0a6d211c0a510653416.png

This worked perfectly! Thank you so much!

Link to comment
  • 2 weeks later...

@NMDesigns On tablet, footer doesnt look good. You can use this CSS to increase right column width

/* fix email break footer tablet */
@media screen and (max-width:991px) and (min-width:768px) {
div#block-yui_3_17_2_1_1552193792397_143453 {
    padding-left: 0;
}
}

image.thumb.png.eb4d93d20ea0d2c04a2310daceb09af0.png

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.