Jump to content

Captions on Mobile in Carson Template

Go to solution Solved by yubrajs,

Recommended Posts

Posted

Hi everyone, happy new year!
Does anyone know how to disable captions for mobile devices, but keep them on for desktops?  (see attached example)  It cuts off on mobile devices, making it look bad.  According to Squarespace customer service, this needs to be a custom code solution.  Any suggestions?

Thanks.   

 

captions on mobile.png

  • Replies 5
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted
3 hours ago, seandufrene said:

Hi everyone, happy new year!
Does anyone know how to disable captions for mobile devices, but keep them on for desktops?  (see attached example)  It cuts off on mobile devices, making it look bad.  According to Squarespace customer service, this needs to be a custom code solution.  Any suggestions?

Thanks.   

 

captions on mobile.png

Can you share your website URL?

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Posted

You can disable the caption by using media query for small screen:


@media only screen and (max-width: 428px) {

.gallery-caption  {

display:none !important;

}


}

  • Solution
Posted

This code will hide the captions from mobile view:

Add this in website tools > custom CSS

@media only screen and (max-width: 428px) {

.grid-image-wrapper .image-title-desc, .grid-image-wrapper .info-button  {

display:none !important;

}
}

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.