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  ⬇️

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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.