Hi! Is there a way to add a ‘Read more’ for the description inside the first collapsible row, which is open by default?
Topic summary
Main Issue:
Users want to automatically open the first collapsible row on product pages in Shopify’s Dawn theme by default.
Working Solution (Dawn Theme):
GemPages support provided a step-by-step code modification:
- Edit
main-product.liquidfile - Add
{% if block.settings.open %} open {% endif %}inside the<details>tag wherecollapsible_tabis found - Add a checkbox setting in the schema section to control the “Open by default” option
- Enable the checkbox in the theme customizer under Product settings
Implementation Notes:
- Multiple users confirmed this works for both Dawn and Craft themes
- Common mistake: Incorrect placement of the
>character causes “open” text to display instead of actually opening the row - For Craft theme: The
collapsible_tabcode is located around row 780
Unresolved Questions:
- One user reports the Craft theme already has an
open_first_collapsible_rowcheckbox in the code but it doesn’t appear in the admin interface - Request for similar solution for Prestige theme (unanswered)
- Question about adding a ‘Read more’ feature to the opened collapsible content (unanswered)