Jump to content

Hide first image in gallery on mobile if collection/not block

Recommended Posts

On nathanleebush.com/cinematographer, I put a vertical image as the first item in the gallery to call out my clients list and as a kind of hack to show off the name of the page. But in mobile a vertical image takes a huge amount of real estate. Is there a way to not show the image?

My template is Forte, and so this gallery page does not use blocks, it seems like, so a lot of the CSS coding solutions I see aren't applicable.

Link to comment
  • Replies 1
  • Created
  • Last Reply

@herzog Add to Home > Design > Custom CSS

@media screen and (max-width:640px) {
body#collection-5ba509af652dea4834b80b3a .slideshow .sqs-wrapper .slide:first-child {
    display: none;
}
}

 

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

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.