How can I automatically open the first collapsible row?

Topic summary

Goal: auto-open the first “collapsible row” (accordion section) on a Shopify product page.

  • The OP shared a product URL and storefront password, plus a screenshot, to illustrate the issue.
  • A suggested fix was to add code in main-product.liquid after the tag to auto-expand the first accordion item. The exact code is referenced but not visible here.
  • A follow-up question asked how to apply this to all collapsible rows. Another code snippet was provided for that broader behavior, but its content is also not visible in this extract.
  • The “open all” approach reportedly did not work for the requester.
  • The helper asked for store access/details to investigate further.

Notes:

  • “Collapsible row” refers to accordion-style content sections on the product page within a Shopify theme.
  • Code snippets and the screenshot are central to understanding/replicating the solution, but their contents are not included here.

Status: unresolved. Next step is for the user to share store access so the helper can debug and provide a working implementation.

Summarized with AI on January 9. AI used: gpt-5.

Hi, sir. If for all collapsible row, how can i set?