Hello, I have the code for the FAQ page below. Not sure if this is where it’s located?
{% if section.settings.section_cov %}
{% endif%}
{%- if section.settings.title != blank or section.settings.subtitle != blank -%}
{{ section.settings.title }}
{%- if section.settings.subtitle != blank -%}{{section.settings.subtitle}}{%- endif -%}
{% endif %}
{% for block in section.blocks limit: section.blocks.size%}
{% if block.type == ‘faqsection’ %}
{% if block.settings.sectiontitle != blank %}
{{block.settings.sectiontitle}}
{% endif %}
{% endif %}
{% if block.type == ‘faqs’ %}
{{ block.settings.question}}
{{ block.settings.answer}}
{% endif %}
{% endfor %}
{% if section.settings.section_cov %}
{% endif %}
.p_ttl{ color:{{section.settings.questions}}; border-bottom:1px solid {{section.settings.borders}}; }
.p_con{color:{{section.settings.answers}};}
.p_ttl:before {color:{{section.settings.icons}}; }
.fullwidth-{{section.id}} { padding-left:{{ section.settings.pad-mbl}}px; padding-right:{{ section.settings.pad-mbl}}px; }
@media only screen and (min-width: 768px){
.fullwidth-{{section.id}} { padding-left:{{ section.settings.pad-desk}}px; padding-right:{{ section.settings.pad-desk}}px; }
}
{% schema %}
{
“name”: “FAQ”,
“settings”: [
{
“type”: “textarea”,
“id”: “title”,
“label”: “Heading”,
“default”: “Heading”,
“info”:“Use text here to make headings bold”
},
{
“type”: “textarea”,
“id”: “subtitle”,
“label”: “Sub Heading”,
“default”: “Describe your products, collection, content etc…”
},
{
“type”: “paragraph”,
“content”:“Section===”
},
{
“type”: “select”,
“id”: “top-offeset”,
“label”: “Top OffSet”,
“default”: “default”,
“options”: [
{
“value”: “default”,
“label”: “Default”
},
{
“value”: “small”,
“label”: “Small”
},
{
“value”: “none”,
“label”: “None”
}
]
},
{
“type”:“checkbox”,
“id”:“section_width”,
“label”:“Fullwidth?”,
“default”: false
},
{
“type”: “paragraph”,
“content”: “Left/Right Padding for Fullwidth ===”
},
{
“type”: “range”,
“id”: “pad-desk”,
“label”: “Desktop”,
“default”: 55,
“min”: 0,
“max”: 100,
“step”: 1
},
{
“type”: “range”,
“id”: “pad-mbl”,
“label”: “Mobile”,
“default”: 15,
“min”: 0,
“max”: 15,
“step”: 1
},
{
“type”: “checkbox”,
“id”: “section_cov”,
“label”: “Add Background?”,
“default”: false
},
{
“type”: “color”,
“id”: “sec_bg_clr”,
“label”: “Background”,
“default”:“#fafafa”,
“info”:“select light color”
},
{
“type”: “checkbox”,
“id”: “enable_acc”,
“label”: “Enable Accordion?”,
“default”: false
},
{
“type”: “select”,
“id”: “acc_style”,
“label”: “Accordion icons”,
“default”: “icons_1”,
“options”: [
{
“value”: “icons_1”,
“label”: “Plus/Minus”
},
{
“value”: “icons_2”,
“label”: “Up/Down Arrows”
}
]
},
{
“type”: “checkbox”,
“id”: “enable_narrow”,
“label”: “Narrow width?”,
“default”: false
},
{
“type”: “color”,
“id”: “sec-title-bg”,
“label”: “Section Title Background”,
“default”: “#333”
},
{
“type”: “color”,
“id”: “sec-title”,
“label”: “Section Title”,
“default”: “#eee”
},
{
“type”: “color”,
“id”: “questions”,
“label”: “Questions”,
“default”: “#444”
},
{
“type”: “color”,
“id”: “answers”,
“label”: “Answers”,
“default”: “#444”
},
{
“type”: “color”,
“id”: “icons”,
“label”: “Icons”,
“default”: “#333”
},
{
“type”: “color”,
“id”: “borders”,
“label”: “Borders”,
“default”: “#eee”
}
],
“blocks”:[
{
“type”: “faqsection”,
“name”: “Section Title”,
“settings”: [
{
“type”: “text”,
“id”: “sectiontitle”,
“label”: “Section Title”
}
]
},
{
“type”:“faqs”,
“name”:“FAQs”,
“settings”:[
{
“type”:“text”,
“id”:“question”,
“label”:“Question”,
“default”:“Is Optimal compatible with Shopify Online Store 2.0?”
},
{
“type”:“textarea”,
“id”:“answer”,
“label”:“Answer”,
“default”:“Yes, our theme is fully compatible and supports Sections on every page.”
}
]
}
],
“presets”: [
{
“name”: “5 - FAQs”,
“blocks”: [
{
“type”: “faqs”
},
{
“type”: “faqs”
}
]
}
]
}
{% endschema %}
#faq h3 { background:{{section.settings.sec-title-bg}}; color:{{section.settings.sec-title}}; }