A stylish FAQ page on your Shopify store can answer customer questions, reduce support queries, and build trust. In this step-by-step guide, we’ll show you how to create one using custom Liquid code—no apps required.
Why Add a Stylish FAQ Page to Shopify?
- Lower Support Queries: Address common questions upfront.
- Increase Trust: Transparent answers build customer confidence.
- Better UX: A clean, interactive design improves navigation.
Step 1: Create a New Page in Shopify
- Log in to your Shopify admin.
- Go to Online Store > Pages.
- Click Add Page, title it "FAQ", and save.
Step 2: Access Your Theme Editor
- Navigate to Online Store > Themes.
- Click Customize on your active theme, then select Edit Code.
Step 3: Add the Custom Liquid Code
We’ll create a collapsible FAQ section for a sleek, user-friendly look.
- In the theme editor, create a new file under Templates called page.faq.liquid.
- Add the following code:
<div class="faq-container">
<h1>Frequently Asked Questions</h1>
<div class="faq-item">
<button class="faq-question">What is your return policy?</button>
<div class="faq-answer">
<p>We offer a 30-day return policy on all items. Products must be unused and in original packaging.</p>
</div>
</div>
<div class="faq-item">
<button class="faq-question">Do you ship internationally?</button>
<div class="faq-answer">
<p>Yes, we ship to over 50 countries! Shipping fees vary based on location.</p>
</div>
</div>
<div class="faq-item">
<button class="faq-question">How can I track my order?</button>
<div class="faq-answer">
<p>Once your order ships, you’ll receive a tracking link via email.</p>
</div>
</div>
</div>
<style>
.faq-container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
.faq-container h1 {
text-align: center;
color: #333;
}
.faq-item {
margin-bottom: 10px;
}
.faq-question {
background-color: #f1f1f1;
border: none;
width: 100%;
padding: 15px;
text-align: left;
font-size: 18px;
cursor: pointer;
outline: none;
}
.faq-question:hover {
background-color: #e1e1e1;
}
.faq-answer {
display: none;
padding: 15px;
background-color: #f9f9f9;
border-left: 4px solid #007bff;
}
.faq-answer.active {
display: block;
}
</style>
<script>
document.addEventListener('DOMContentLoaded', function() {
const questions = document.querySelectorAll('.faq-question');
questions.forEach(question => {
question.addEventListener('click', function() {
const answer = this.nextElementSibling;
answer.classList.toggle('active');
});
});
});
</script>
- Save the file.
Step 4: Assign the Template to Your FAQ Page
- Go back to Online Store > Pages and open your "FAQ" page.
- In the Theme template dropdown (usually on the right), select page.faq.
- Save the page.
Step 5: Customize Your FAQ Page
- Add More FAQs: Duplicate the <div class="faq-item"> section and update the question and answer.
- Adjust Styling: Modify the background-color, border, or font-size in the <style> section to match your brand.
- Test Collapsibility: Ensure the sections expand/collapse smoothly on desktop and mobile.
Conclusion
Creating a stylish FAQ page for your Shopify store in 2025 is easy with this custom Liquid code. It’s a practical way to enhance user experience, reduce support queries, and build trust with your customers.