Jump to content

Ommit Custom CSS from Mobile

Recommended Posts

Posted

Site URL: http://www.jayclulow.photography

Hi,

 

I've been using the following custom CSS with the Flatiron template to give a wider frame view of my images on desktop 

 

.gallery-item{

width:100vw !important;

  height:100%;

position: fixed;

left: -300px;  /*Change the 300px depending on your template*/

}

 

However because on mobile that left section stacks how can I stop this rule from being applied on mobile?

 

Thanks,

 

  • Replies 6
  • Views 441
  • Created
  • Last Reply
  • 3 weeks later...

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.