mattlaurence Posted November 29, 2020 Posted November 29, 2020 Site URL: http://www.mattlaurencemusic.com/premiumguitarbundle By default, clicking the site title send you back to the homepage - I wanted to know if there was a way/code to turn this off? I don't want give viewers any links to get off of the page because I want to use it as a funnel. Thank you! I have the commerce plan http://www.mattlaurencemusic.com/premiumguitarbundle My site title below
mattlaurence Posted November 29, 2020 Author Posted November 29, 2020 If possible, I'd also like to hide the "back to store" button on the products page too if anybody knows how!
CarlJ Posted November 29, 2020 Posted November 29, 2020 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
mattlaurence Posted November 30, 2020 Author Posted November 30, 2020 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!
jjcp Posted December 4, 2020 Posted December 4, 2020 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
tuanphan Posted December 6, 2020 Posted December 6, 2020 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 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!)
jjcp Posted December 6, 2020 Posted December 6, 2020 16 hours ago, tuanphan said: Hi. Do you still need help on this? No, i think i'm giving up at this point but thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.