shelbyroller Posted January 6, 2023 Posted January 6, 2023 I was wondering if anyone had experience with adding a floating button to Squarespace 7.1? I want this to be available when someone begins to scroll on a page. So far, all of the code that I have found is for older versions of Squarespace. Thanks!
Solution paul2009 Posted January 6, 2023 Solution Posted January 6, 2023 (edited) On 1/6/2023 at 7:32 PM, shelbyroller said: I was wondering if anyone had experience with adding a floating button to Squarespace 7.1? If it helps, I produced a guide for adding a floating button to mobile devices:Mobile CTA footer for Squarespace 7.1. I've also posted a solution for a single button here: If this doesn't suit your needs, please provide some more details about your requirements. Did this help? Please give feedback by clicking an icon below ⬇️ Edited February 15, 2023 by paul2009 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original 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 completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
GeneCWayne Posted February 27, 2023 Posted February 27, 2023 This is great and works well, but it places the floating button on very page. Is there a way to place it on one specific page only? Thanks, Gene
paul2009 Posted February 28, 2023 Posted February 28, 2023 7 hours ago, GeneCWayne said: Is there a way to place it on one specific page only? Yes! Instead of adding the code (in step 1) to the site-wide code injection panel, you can add it to the per-page code injection panel instead. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original 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 completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
JonJonJJ Posted March 4, 2023 Posted March 4, 2023 On 1/6/2023 at 8:38 PM, paul2009 said: If it helps, I produced a guide for adding a floating button to mobile devices:Mobile CTA footer for Squarespace 7.1.⬇️ Awesome! Hi @paul2009. Thanks for sharing the code! Is there a chance to bring the floating buttons underneath the opened menu (burger menu on mobile)? At the moment the buttons are above the sqsp-header-button. Best! Jon paul2009 1
paul2009 Posted March 4, 2023 Posted March 4, 2023 2 hours ago, JonJonJJ said: Is there a chance to bring the floating buttons underneath the opened menu (burger menu on mobile)? Hey Jon In the Custom CSS (around line 31), reduce the z-index to 10 (instead of 10000) and this should do the trick 🙂. Did this help? Please give feedback by clicking an icon below ⬇️ JonJonJJ 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original 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 completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
JonJonJJ Posted March 5, 2023 Posted March 5, 2023 12 hours ago, paul2009 said: Hey Jon In the Custom CSS (around line 31), reduce the z-index to 10 (instead of 10000) and this should do the trick 🙂. Did this help? Please give feedback by clicking an icon below ⬇️ Great! Thank you so much for your feedback!
AlexandraHB Posted October 1, 2023 Posted October 1, 2023 Hello, thanks for providing this code for 7.1! I spent a dumb amount of time trying to make older code work without realizing. I've been trying to create floating navigation buttons for my membersite, one on the left and one on the right, with different icons on each page. I was able to get this code to work to create a Book Now/CTA button but couldn't figure out how to replace the button for an icon (specifically a hosted image w/ URL), which I was able to do once on a page before 7.1 . Would love to know if you have any suggestions. Much appreciated!
paul2009 Posted October 1, 2023 Posted October 1, 2023 2 hours ago, AlexandraHB said: I was able to get this code to work to create a Book Now/CTA button but couldn't figure out how to replace the button for an icon Please provide some more details so that I can take a look. A link to the page/site will help as well as a link to the icon and, ideally, a mock-up of what you want to achieve. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original 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 completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
AlexandraHB Posted October 7, 2023 Posted October 7, 2023 On 10/1/2023 at 2:53 AM, paul2009 said: Please provide some more details so that I can take a look. A link to the page/site will help as well as a link to the icon and, ideally, a mock-up of what you want to achieve. Hey Paul, Thanks for the quick reply! Website is paywalled, so use code: PAUL2009 http://www.honoredbody.com/the-center I'm trying to create "Trail Guides"—button links in the form of icons that look like wooden trail markers and that float when visitors scroll (one on the left and one on the right hand side of the page)—for folks to be able to navigate to different pages (the different locations). These icons would be switched out on each page to give the illusion that you are "walking around" the "property," and I think I understand that this can be done by adding code to each page individually, and just switching out the image links. Is that correct? For this page I have linked, it would be these icons specifically. The Library(left facing)- gdurl.com/63Ui The Kitchen (right facing)- gdurl.com/yS8Z And as a mock up:
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment