When i was making my password page i removed the option of entering a password to enter the site and now I want to add it back but i cant remember how i did it. Help please! website is moralinstinct.com
Here is my current password page:
When i was making my password page i removed the option of entering a password to enter the site and now I want to add it back but i cant remember how i did it. Help please! website is moralinstinct.com
Here is my current password page:
Edit code → search file “main-password-header.liquid” and replace all code with the code i have provided
{%- if settings.logo != blank -%}
{%- assign logo_alt = settings.logo.alt | default: shop.name | escape -%}
{%- assign logo_height = settings.logo_width | divided_by: settings.logo.aspect_ratio -%}
{{
settings.logo
| image_url: width: 500
| image_tag:
class: 'password-logo',
widths: '50, 100, 150, 200, 250, 300, 400, 500',
width: settings.logo_width,
height: logo_height,
alt: logo_alt
}}
{%- else -%}
# {{ shop.name }}
{%- endif -%}
{%- if shop.password_message != blank -%}
{{ shop.password_message }}
{%- endif -%}
{% assign scheme1 = settings.color_schemes | first %}
{%- if section.settings.color_scheme == scheme1 -%}
---
{%- endif -%}
{% schema %}
{
"name": "t:sections.main-password-header.name",
"settings": [
{
"type": "header",
"content": "t:sections.main-password-header.settings.logo_header.content"
},
{
"type": "paragraph",
"content": "t:sections.main-password-header.settings.logo_help.content"
},
{
"type": "color_scheme",
"id": "color_scheme",
"label": "t:sections.all.colors.label",
"default": "scheme-1"
}
]
}
{% endschema %}
Hi thanks for your reply but it seems that the code you provided is the exact same as whats already there, is there something else i can add? thankyou