@PageFly-Victor Thanks its works!
Topic summary
Goal: Auto-open the first tab in the Impulse theme’s tab component on dehome.co.uk.
Solution provided: Insert a small JavaScript snippet in theme.liquid before the closing tag to programmatically click the first tab on page load.
- Code: window.onload = () => { document.querySelectorAll(‘button.label.collapsible-trigger.collapsible-trigger-btn.collapsible-trigger-btn–borders.collapsible–auto-height’)[0].click(); }.
- Explanation: theme.liquid is the main layout file; the script runs after the page loads and simulates a click on the first collapsible-trigger button, opening the initial tab.
Outcome: The requester confirmed the code works.
Attachments: A screenshot illustrates where to paste the code, but the exact placement (before ) is the key detail.
Status: Resolved; no further questions or disagreements noted.