Jump to content

Turn off link to homepage on site title

Recommended Posts

  • Replies 6
  • Views 1.1k
  • Created
  • Last Reply
Posted

Hi @mattlaurence

Try putting this in your Custom CSS (Design > Custom CSS)

/*remove site title link*/
#title-area h1 a, #title-area h1 a:visited {
pointer-events: none;
}

/*hides product nav*/
#productNav {
display: none !important;
}

If you just want to remove the site title link on your funnel page then instead of putting the top bit of CSS in the site-wide CSS editor you would put this into the Page Header Code Injection of your funnel page:

<style>
  /*remove site title link*/
#title-area h1 a, #title-area h1 a:visited {
pointer-events: none;
}
  </style>

 

Subscribe for Squarespace Tutorials 👉 https://www.youtube.com/mrjohnocp

Posted
15 hours ago, CarlJ said:

Hi @mattlaurence

Try putting this in your Custom CSS (Design > Custom CSS)


/*remove site title link*/
#title-area h1 a, #title-area h1 a:visited {
pointer-events: none;
}

/*hides product nav*/
#productNav {
display: none !important;
}

If you just want to remove the site title link on your funnel page then instead of putting the top bit of CSS in the site-wide CSS editor you would put this into the Page Header Code Injection of your funnel page:


<style>
  /*remove site title link*/
#title-area h1 a, #title-area h1 a:visited {
pointer-events: none;
}
  </style>

 

Hey CarlJ, that worked like a charm. Thanks man!! Appreciate you!

Posted
On 11/29/2020 at 4:13 AM, CarlJ said:

Hi @mattlaurence

Try putting this in your Custom CSS (Design > Custom CSS)




/*remove site title link*/
#title-area h1 a, #title-area h1 a:visited {
pointer-events: none;
}

/*hides product nav*/
#productNav {
display: none !important;
}

If you just want to remove the site title link on your funnel page then instead of putting the top bit of CSS in the site-wide CSS editor you would put this into the Page Header Code Injection of your funnel page:




<style>
  /*remove site title link*/
#title-area h1 a, #title-area h1 a:visited {
pointer-events: none;
}
  </style>

 

CarlJ you are a genius and a wizard both. Thank you for helping me, too. I was getting ready to delete my whole store page because that link was taking me back to the commerce page, which lacks enough function for what we're trying to do.

Now looking at the store item, there is a submenu which should be useful but it is not. Back and forward are fine, but is there a way to change the "back" to go to a different slug? If not, i need to delete it.

Further, is there code to change the link in the product navigation so that it takes you to a different slug? I don't mind that it's there, as long as it takes you back to my new store page and not the commerce page.

https://www.fwwm.org/museum-store-curbside-pick-up is the store I want to use

https://www.fwwm.org/museumstore is the commerce site I do not want shoppers to redirect to via back buttons

Untitled.png

Posted
On 12/5/2020 at 2:47 AM, jjcp said:

CarlJ you are a genius and a wizard both. Thank you for helping me, too. I was getting ready to delete my whole store page because that link was taking me back to the commerce page, which lacks enough function for what we're trying to do.

Now looking at the store item, there is a submenu which should be useful but it is not. Back and forward are fine, but is there a way to change the "back" to go to a different slug? If not, i need to delete it.

Further, is there code to change the link in the product navigation so that it takes you to a different slug? I don't mind that it's there, as long as it takes you back to my new store page and not the commerce page.

https://www.fwwm.org/museum-store-curbside-pick-up is the store I want to use

https://www.fwwm.org/museumstore is the commerce site I do not want shoppers to redirect to via back buttons

Untitled.png

Hi. Do you still need help on this?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.