NEC Posted October 8, 2021 Share Posted October 8, 2021 Site URL: https://www.marcelchenier.com After all day searching through the forums, I never found an answer for this. I'm using 7.1 and in my navigation bar (header), I have two anchor links, one to the bio on the home page, one to the footer with the contact info. The other navigation elements which go to different pages (home, gallery, shop) get underlined when active, but these two do not. Any help would be greatly appreciated. Link to comment
Beyondspace Posted October 9, 2021 Share Posted October 9, 2021 20 minutes ago, NEC said: Site URL: https://www.marcelchenier.com After all day searching through the forums, I never found an answer for this. I'm using 7.1 and in my navigation bar (header), I have two anchor links, one to the bio on the home page, one to the footer with the contact info. The other navigation elements which go to different pages (home, gallery, shop) get underlined when active, but these two do not. Any help would be greatly appreciated. what is your protected password? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
NEC Posted October 9, 2021 Author Share Posted October 9, 2021 Oh, hi: SWMarcel Beyondspace 1 Link to comment
Beyondspace Posted October 9, 2021 Share Posted October 9, 2021 (edited) Have you solved it yet? I checked the 'jump' navigator buttons get underlined when active Edited October 9, 2021 by bangank36 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
NGO2045 Posted October 11, 2021 Share Posted October 11, 2021 I have the same problem! Any solution? 🙂 Link to comment
NEC Posted October 12, 2021 Author Share Posted October 12, 2021 (edited) Yeah, I already had Home, Gallery and the Shop all underlined when active. I want Contact and Bio to be likewise underlined when active. Edited October 12, 2021 by NEC typo Link to comment
tuanphan Posted October 13, 2021 Share Posted October 13, 2021 14 hours ago, NEC said: Yeah, I already had Home, Gallery and the Shop all underlined when active. I want Contact and Bio to be likewise underlined when active. What is your site url? 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
Beyondspace Posted October 13, 2021 Share Posted October 13, 2021 15 hours ago, NEC said: Yeah, I already had Home, Gallery and the Shop all underlined when active. I want Contact and Bio to be likewise underlined when active. You can try adding to Home > Setting > Advanced > Code Injection > Footer <script > const navBtns = document.querySelectorAll('.header-display-desktop .header-nav-item'); navBtns.forEach((button, i) => { button.addEventListener('click', () => { const navActiveBtns = document.querySelectorAll('.header-display-desktop .header-nav-item--active'); navActiveBtns.forEach(activeBtn => { activeBtn.classList.remove('header-nav-item--active'); }) // Check if link has # or not, default has process the underlink if (!button.querySelector('a').matches("[href*='#']")) return; button.classList.add('header-nav-item--active'); }); }); </script> Support me by pressing 👍 if this useful for you JonSaul 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Beyondspace Posted October 13, 2021 Share Posted October 13, 2021 (edited) On 10/11/2021 at 8:37 PM, NGO2045 said: I have the same problem! Any solution? 🙂 If you want to disable the underline effect in navigator, you can add to Custom Css .header-nav-wrapper .header-nav-item > a{ background: unset !important; } Edited October 13, 2021 by bangank36 NGO2045 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
NGO2045 Posted October 13, 2021 Share Posted October 13, 2021 (edited) 21 hours ago, bangank36 said: If you want to disable the underline effect in navigator, you can add to Custom Css .header-nav-wrapper .header-nav-item > a{ background: unset !important; } Thanks! Unfortunately, the code does not seem to work for me to disable the underline effect. Edit: Solved it Edited October 14, 2021 by NGO2045 Link to comment
NEC Posted October 14, 2021 Author Share Posted October 14, 2021 (edited) The code injection for the footer? And now I've changed the Contact navigation to go to a different contact page, and still it's still not underlined when active. If it helps, in my Pages menu, the ones that get underlined when active show up with a page icon (or a shopping cart for the Shop), but the Contact and Bio show up with a link icon next to it. Edited October 14, 2021 by NEC Link to comment
NEC Posted October 14, 2021 Author Share Posted October 14, 2021 Here's what my Pages menu looks like: Link to comment
NEC Posted October 14, 2021 Author Share Posted October 14, 2021 (edited) Bangank, I tried the code injection in the footer, nothing changes. Are we sure we don't want this in the header? I tried the code there too but it didn't help. Edited October 14, 2021 by NEC clarity Link to comment
NEC Posted October 15, 2021 Author Share Posted October 15, 2021 (edited) @tuanphan My url is in the OP: https://www.marcelchenier.com Edited October 15, 2021 by NEC No need for PW, I took it live but still want to fix this. Link to comment
Beyondspace Posted October 16, 2021 Share Posted October 16, 2021 (edited) Have you added the script into code injection yet? code injection.mp4 Edited October 16, 2021 by bangank36 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
NEC Posted October 19, 2021 Author Share Posted October 19, 2021 Hi bangank36, Yes, I did, exactly as you suggested before and it didn't work. I even tried it again, following the video in case I'd missed something the first time. I even tried it in the header. Still no change: Home, Gallery & shop all work fine, but BIO and CONTACT do not (see my screen shots above). Thank you! Link to comment
kellicox90 Posted March 31 Share Posted March 31 I have the same problem, jump links across my site aren't underlined when active.. any solutions? URL https://lime-raspberry-ywg5.squarespace.com/ PW GSR123 Jump links are all in the services folder and on the /towing page (alternative navigation) Any help much appreciated 🙂 Link to comment
tuanphan Posted April 5 Share Posted April 5 On 3/31/2023 at 7:53 AM, kellicox90 said: I have the same problem, jump links across my site aren't underlined when active.. any solutions? URL https://lime-raspberry-ywg5.squarespace.com/ PW GSR123 Jump links are all in the services folder and on the /towing page (alternative navigation) Any help much appreciated 🙂 You mean links on this dropdown? 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment