Jump to content

Portfolio Images Mobile Overlay

Recommended Posts

Site URL: https://magnolia-hawk-8wyh.squarespace.com/

Password: thisisart

I figured out how to turn off the hover effect in my portfolio grid using the below code, but now it's hard to read on the mobile. Can someone help me with code to put a overlay gradient on mobile only or a suggestion to make the text legible? Thanks!

// Portfolio Text on Mobile //
@media screen and (max-width:640px) {
.portfolio-text {
    opacity: 1 !important;
  
}
}

@media screen and (max-width:767px) {
.portfolio-text h3 {
    color: white !important;
    font-size: 26px ! important;
}
}


 

Link to comment

Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
.portfolio-overlay {
    background-color: rgba(0,0,0,0.2) !important;
    opacity: 1 !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.