Jump to content

Hide button on desktop only

Go to solution Solved by paul2009,

Recommended Posts

Site URL: https://www.theprinceali.com/

Hi guys

I'm trying to hide the buttons on my home page of my website only on desktop, I still want them visible on mobile. 

And i don't want this to affect anything but my home page, (I don't have any other buttons on my website if that helps at all)

Could someone please let me know if there is a way to do it? It would be greatly appreciated. 

My website is https://www.theprinceali.com/

Link to comment
  • Solution
2 hours ago, princeali said:

I'm trying to hide the buttons on my home page of my website only on desktop, I still want them visible on mobile. 

You can do this by adding this to Design > Custom CSS:

@media screen and (min-width: 767px){
  .homepage .sqs-block-button {
  display:none;
  }
}

  If this post has helped you, please click a 'Like' or 'Thanks' icon below  ⬇️

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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.