How do I add an anchor link to the FAQ page?
Anchor links let visitors jump directly to an Accordion section on the same page. Align does not include a dedicated anchor setting, but you can link to an Accordion section using its generated Shopify ID.
Add an anchor link
Section titled “Add an anchor link”-
Open the live page containing the Accordion section.
-
Open your browser’s developer tools, then use the element selector to select the Accordion section.
-
Find the outer
sectionelement and copy its fullidvalue. It begins withshopify-section-. -
Open the button or link that should take visitors to the Accordion section.
-
Paste the copied ID into the link field and add
#at the beginning.For example:
#shopify-section-template--123__accordion -
Save your changes, then test the link on the live page.
The ID belongs to that specific section instance. If you remove and recreate the section, or change the template, copy the new ID and update the link.