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
  • Replies 3
  • Views 1.5k
  • Created
  • Last Reply
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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.