Making your quiz full-width
You can adjust the width of your quiz so that it looks better on your store's page.
Last updated
Was this helpful?
You can adjust the width of your quiz so that it looks better on your store's page.
Last updated
Was this helpful?
If you published your quiz and it doesn't look how it should on your page, you can add code to increase the width to full-width.
There are two parts to this tutorial. In Part 1 you create a template, and in Part 2 you apply the template to your quiz page.
After you have published your quiz on any page, then you need to add a page template to your theme.
Steps:
From the Shopify admin, click Online Store.
Click the ellipses (...
), then click Edit code.
From the theme code editor under templates, click + Add a new template.
From the Template type drop-down menu, select page.
Select liquid, and enter a file name for this template, like quiz-kit
.
Click Done.
Copy the following code: {{ page.content }}
.
Click on your new template and paste the code you copied at the top of it.
Click Save.
After adding the new template to your theme, you need to switch your quiz page's template to the new one.
Navigate to the page that your quiz is on in your Online Store > Pages section.
Under the Online store section, under Theme template, click the drop-down and select your newly created template.
Click Save.
You only need to create this template once, and then you can apply it to all your quizzes by repeating the steps in .