Jump to content

Gallery overlay is blue on Safari, Red on Chrome. How do I fix?

Recommended Posts

Site URL: https://www.vitalhub.com

Hi, so my site is vitalhub.com. On the home page when you scroll down a bit, there's a gallery block that says Patient Flow & Operational Visibility and the other block says EHR, Case Management, Care Coordination, and Optimization. 

When viewed on Safari, the color is light blue, when viewed on Google Chrome, the color is red. I've noticed that for some reason the code that I have in the Custom CSS, is only turning the border of the text blue on hover, while filling the background red.

I want the background fill to be blue like it is on Safari.

Any ideas? 

This is the code that I have for that section:

@gallery-overlay-images-grid-title-color: #fff;
@gallery-overlay-images-grid-title-size: 2rem;

@gallery-overlay-images-grid-sub-title-color: #ddd;
@gallery-overlay-images-grid-subtitle-size: 1rem;

@gallery-overlay-line-color: #fffff;
@gallery-overlay-line-thickness: 5px;

@gallery-overlay-images-grid-button-accent-color:#71CDE1;
@gallery-overlay-images-grid-hover-overlay: rgba(0,0,0,.6);
@gallery-overlay-images-border-radius: 10px;
@gallery-overlay-text-position: 0%;

body{.margin-wrapper.custom-gallery-images-wrapper .custom-images-gallery-desc .inner-cust-wrapper h3:after{background-color: @gallery-overlay-line-color!important;height: @gallery-overlay-line-thickness !important;}.margin-wrapper.custom-gallery-images-wrapper{border-radius: @gallery-overlay-images-border-radius;&:after{background-color: @gallery-overlay-images-grid-hover-overlay;}.custom-images-gallery-desc{.inner-cust-wrapper{h3{color: @gallery-overlay-images-grid-title-color;font-size:@gallery-overlay-images-grid-title-size;padding-top: @gallery-overlay-text-position;@media only screen and (max-width: 800px){font-size: 1.3rem;}&:after{background-color:@gallery-overlay-images-grid-title-color;}}p{color: @gallery-overlay-images-grid-sub-title-color;font-size: @gallery-overlay-images-grid-subtitle-size;@media only screen and (max-width: 800px){font-size: .9rem;}a{border: 1px solid @gallery-overlay-images-grid-button-accent-color;color: @gallery-overlay-images-grid-button-accent-color;}}}}&:hover{.custom-images-gallery-desc{p{a{background-color: @gallery-overlay-images-grid-button-accent-color;color: @gallery-overlay-images-grid-title-color;}}}}}}
 

Screen Shot 2022-05-04 at 3.52.55 PM.png

Screen Shot 2022-05-04 at 3.53.08 PM.png

Link to comment
  • Replies 1
  • Views 209
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.