Hi guys, we had a developer build a custom page for us.
Sadly, it seems he went MIA and we’ve been contacting him for weeks but to no response.
We recently switched our themes and had to port and code over all our custom features from the old theme to the new one. I’ve been making progress on this task, and I’m 95% done, the only last thing I have left is this big chunk of whitespace on the bottom of this custom page he created for us.
This is the page on our site, and you can see the whitespace there
https://www.sprayground.com/pages/shabbat#check
Can anyone help us remove it? I will paste the liquid code below.
{%- if section.settings.image -%}
{%- assign background_image = section.settings.image | img_url: '1800x' -%}
{%- else -%}
{%- assign background_image = 'password-page-background.jpg' | asset_url -%}
{%- endif -%}
{% if section.settings.logo %}
{% capture image_size %}x40{% endcapture %}
{% else %}
##
{{ section.settings.custom_message }}
{% endif %}
{% if section.settings.custom_message_2 %}
#### {{ section.settings.custom_message_2 }}
{% endif %}
##
{% if section.settings.imgorvid == "video" %}
{% elsif section.settings.imgorvid == "image" %}
{% endif %}
{{ 'general.password_page.login_form_heading' | t }}
{{ 'shop.js' | asset_url | script_tag }}
{% schema %}
{
"name": "Shabbat page",
"class": "password-section",
"settings": [
{
"type": "image_picker",
"id": "logo",
"label": "Logo image"
},
{
"type": "radio",
"id": "imgorvid",
"label": "Background Image or Video",
"options": [
{ "value": "image", "label": "Image" },
{ "value": "video", "label": "Video" }
],
"default": "image"
},
{
"type": "image_picker",
"id": "image",
"label": "Background Image"
},
{
"id": "custom_message",
"type": "richtext",
"label": "Custom Message"
},
{
"id": "custom_message_2",
"type": "richtext",
"label": "Custom Message 2"
},
{
"id": "video_url",
"type": "text",
"label": "Background Video URL"
}
]
}
{% endschema %}