pizzacat Posted August 31, 2021 Share Posted August 31, 2021 Site URL: https://edu.ifixit.com/fast-fix-project-faq#two I added anchor links to my accordion menu using the markdown block and some CSS and jQuery, but I would like the question to expand automatically when the anchor links are used. The rest of the page functions just how I would like—users that end up on the page organically can toggle through each question—but when I send a specific anchor link to a user, I'd like the question to automatically expand. I'd ideally like to find a way to do this that also doesn't mess with the spacing or the hover color. I'm using Squarespace 7.0 with the Bedford template. Beyondspace 1 Link to comment
Beyondspace Posted November 11, 2021 Share Posted November 11, 2021 On 8/31/2021 at 10:45 PM, pizzacat said: Site URL: https://edu.ifixit.com/fast-fix-project-faq#two I added anchor links to my accordion menu using the markdown block and some CSS and jQuery, but I would like the question to expand automatically when the anchor links are used. The rest of the page functions just how I would like—users that end up on the page organically can toggle through each question—but when I send a specific anchor link to a user, I'd like the question to automatically expand. I'd ideally like to find a way to do this that also doesn't mess with the spacing or the hover color. I'm using Squarespace 7.0 with the Bedford template. You can get the hash value in url and find the matched faq item in order to expand it BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
tuanphan Posted May 11, 2022 Share Posted May 11, 2022 On 5/9/2022 at 9:53 PM, alexaromano said: has anyone solved this? Do you still need help? 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!) Link to comment
CrisH Posted September 20, 2022 Share Posted September 20, 2022 I think I have the same question... I have an anchor link on the menu (about) and would like that when clicked from the menu, the linked accordion opens automatically. Today it jumps to place but because it is not open, it looks like it navigates to the section below "about". here is the site: https://www.seagrow.no/ and the anchor link is: https://www.seagrow.no/#About Many thanks in advance! Link to comment
tuanphan Posted September 20, 2022 Share Posted September 20, 2022 14 hours ago, CrisH said: I think I have the same question... I have an anchor link on the menu (about) and would like that when clicked from the menu, the linked accordion opens automatically. Today it jumps to place but because it is not open, it looks like it navigates to the section below "about". here is the site: https://www.seagrow.no/ and the anchor link is: https://www.seagrow.no/#About Many thanks in advance! You mean click About >> This accordion will open? 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!) Link to comment
CrisH Posted September 21, 2022 Share Posted September 21, 2022 7 hours ago, tuanphan said: You mean click About >> This accordion will open? yes! I mean that when we click "about" from the menu, the user will be taken to see exactly the image above, the about accordion open. Is it possible, to automatically open an accordion from an anchor link in the menu? Link to comment
crisisandcreativity Posted November 1, 2022 Share Posted November 1, 2022 I have this same question! How do you link from one page to a specific section of an accordion? I want a to link to this page, but it goes directly to the open Jewelry Care section: https://www.molinarostudio.com/info Link to comment
ReformDesign Posted November 1, 2022 Share Posted November 1, 2022 On 9/21/2022 at 3:10 AM, CrisH said: yes! I mean that when we click "about" from the menu, the user will be taken to see exactly the image above, the about accordion open. Is it possible, to automatically open an accordion from an anchor link in the menu? Are you okay with how you have it setup now, with the accordion item always open? Link to comment
ReformDesign Posted November 1, 2022 Share Posted November 1, 2022 1 hour ago, crisisandcreativity said: I have this same question! How do you link from one page to a specific section of an accordion? I want a to link to this page, but it goes directly to the open Jewelry Care section: https://www.molinarostudio.com/info Any JS folks find this helpful? https://stackoverflow.com/questions/66028832/open-accordion-item-based-on-target-in-url-wordpress-menu 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