Show do i get the thumbnails to show the excerpt rather than the table of content.
Currently it is only showing my content table
Hey @gemlette ,
To display excerpts instead of the table of contents for the thumbnails on your Shopify page, you can follow these steps:
-
Online Store > Themes.
-
Edit code.
-
Find the template for the page you want to modify. This is typically under Templates and might be named something like page.crystals-101.liquid
Modify the Code:
-
Open the relevant template file.
-
Look for the code that generates the table of contents. This might be in a section or a snippet included in your page template.
-
Replace or comment out the table of contents code with the code that retrieves the excerpt instead. If you have a specific excerpt you want to show, you might need to use a variable like {{ page.excerpt }} or a similar method based on how your content is structured.
Adjust the Thumbnails Section:
-
If your thumbnails are generated by a specific section (like sections/page-content.liquid), you may need to edit that file too.
-
Find where the thumbnails are rendered and ensure it’s set to show excerpts. This could involve using a loop to output the excerpt for each thumbnail item.
Save Changes:
-
After making the necessary changes, save the file.
-
Preview the page to ensure the thumbnails now show the excerpts instead of the table of contents.
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regard,
Rajat Sharma