Jump to content

Hide floating mobile CTA button on nav and certain pages

Recommended Posts

I have some code working to display a floating CTA button on mobile only.  I like it pretty well but I'd like to hide it when the mobile nav is selected as it floats on top of the nav and the CTA button that is also in the nav.  

I'd also like to remove the floating button from the button destination scheduling page because it doesn't make sense to appear there since that is where it navigates to.

The collection ID for the scheduling page is #collection-65b514dce8c0eb01e63fa017 and ID for the button is #block-yui_3_17_2_1_1708444534928_12789

I figure I have to use those IDs but not sure the correct CSS syntax.

Password: mbkc

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.