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'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own 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 fuels my work.

Book paid help with a Squarespace Domain

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.