Jump to content

Hiding header button on one page

Recommended Posts

54 minutes ago, Katie_B said:

Site URL: https://flounder-star-7xs2.squarespace.com/

Hello,

I'd like to hide the ORDER NOW button in my header on the product detail page. 

Site password: kb

Many thanks! 

You can add below code in your Custom CSS editor. It will hide button on both desktop and mobile.

#item-60632671dc94e57b3a76bb27 .header-actions-action--cta,
#item-60632671dc94e57b3a76bb27 .header-menu-cta {
    display: none;
}

Link to comment
On 4/2/2021 at 3:42 AM, Katie_B said:

Site URL: https://flounder-star-7xs2.squarespace.com/

Hello,

I'd like to hide the ORDER NOW button in my header on the product detail page. 

Site password: kb

Many thanks! 

Hi. Add to Design > Custom CSS

/* hide order button on product detail */
body.collection-type-products.view-item header#header a.btn {
    visibility: hidden !important;
}

 

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

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.