Jump to content

Always displaying hover captions on mobile

Recommended Posts

Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
[data-section-id="5eca911272e6a72aacf7a277"] figcaption.image-caption-wrapper {
    opacity: 1 !important;
    visibility: visible !important;
    overflow: hidden;
}
}

 

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
  • 1 year later...
On 10/19/2021 at 10:26 PM, designer-abi said:

Hi there, 

I have the same question, and have tried the code, but it doesn't work for me. 

My site URL is www.abi-read.com and I'd like the 'hover over' captions that appear on a desktop view, to remain consistently on the mobile view. 

Any ideas? Thanks

Add to Design > Custom CSS

.portfolio-text {
    opacity: 1 !important;
}
.portfolio-overlay {
    opacity: 0.2 !important;
}

 

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

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.