password page is broken

YounesTimitar
Excursionist
36 0 6

Hello,

So my password page is broken but only on the phone perspective as you can see in the pictures. Can anyone help me with the coding?

 

This is oh the Phone: (Broken)

YounesTimitar_0-1626690937956.png

 

 

 

 

This is on the computer: (Should be like this)

YounesTimitar_1-1626690938087.png

 

 

0 Likes
Michal_Morek
Shopify Partner
821 73 140

Hi @YounesTimitar 

Hope you're having a great day!

I've read your problem and, before providing a solution, would like to analyze your website. Then, I will provide a solution to you up here - on the forum.
Could you share your website URL and the content of layout/password.liquid by following the steps below? And if your website is password protected, then also provide a password?

scrnli_22_05_2021_15-34-42.png

Founder of Shopify agency - Accomplishify.com
If you would like to hire us as Shopify experts, please reach out via:
  • Email michal.morek@accomplishify.com
  • WhatsApp +48 507 613 425
0 Likes
YounesTimitar
Excursionist
36 0 6

Hey Sure!

Website URL: https://timitar.de/

Password: timitarspices

Passrword.liquid:

<!doctype html>
<html class="no-js" lang="{{ request.locale.iso_code }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="theme-color" content="{{ settings.color_button }}">
<link rel="canonical" href="{{ canonical_url }}">

{%- if settings.favicon != blank -%}
<link rel="shortcut icon" href="{{ settings.favicon | img_url: '32x32' }}" type="image/png" />
{%- endif -%}

{%- render 'seo-title' -%}

{%- if page_description -%}
<meta name="description" content="{{ page_description | escape }}">
{%- endif -%}

{%- render 'social-meta-tags' -%}

{%- render 'font-face' -%}
{{ 'theme.css' | asset_url | stylesheet_tag }}
{%- render 'css-variables' -%}

{{ content_for_header }}

<script>
document.documentElement.className = document.documentElement.className.replace('no-js', 'js');

window.theme = window.theme || {};
theme.settings = {
themeName: 'Impulse',
themeVersion: "4.0.0"
};
</script>

<script src="{{ 'vendor-scripts-v8.js' | asset_url | split: '?' | first }}" defer="defer"></script>
</head>

<body class="template-password" data-center-text="{{ settings.type_body_align_text }}" data-button_style="{{ settings.button_style }}" data-type_header_capitalize="{{ settings.type_header_capitalize }}" data-type_headers_align_text="{{ settings.type_headers_align_text }}" data-type_product_capitalize="{{ settings.type_product_capitalize }}" data-swatch_style="{{ settings.swatch_style }}">

<div class="password-page__image"></div>

<div class="password-page__wrapper">
<div class="medium-up--text-right">
<a href="#LoginModal" class="js-modal-open-login-modal password-login">
<span class="password__lock">
<svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-lock" viewBox="0 0 17 20"><path fill="#FFF" d="M15.725 8.333H15.3V6.875C15.3 3.02 12.313 0 8.5 0 4.687 0 1.7 3.02 1.7 6.875v1.458h-.425C.571 8.333 0 8.893 0 9.583v9.167C0 19.44.571 20 1.275 20h14.45c.704 0 1.275-.56 1.275-1.25V9.583c0-.69-.571-1.25-1.275-1.25zM4.25 6.875C4.25 4.381 6.077 2.5 8.5 2.5s4.25 1.88 4.25 4.375v1.458h-8.5V6.875zm5.95 8.142c0 .91-.754 1.65-1.683 1.65h-.034c-.93 0-1.683-.74-1.683-1.65v-1.7c0-.911.754-1.65 1.683-1.65h.034c.93 0 1.683.739 1.683 1.65v1.7z"/></svg>
</span>
{{ 'general.password_page.password_link' | t }}
</a>
</div>

{{ content_for_layout }}

<footer class="password-page__footer">
<div class="password-page__footer_inner">
{%- capture shopify -%}
<a href="//www.shopify.com" rel="nofollow" target="_blank" title="Create your own online store with Shopify">
<svg aria-hidden="true" focusable="false" role="presentation" class="icon icon--wide icon-shopify-logo" viewBox="0 0 150 43"><path fill="#999" d="M33.3 8.9s0-.2-.1-.3c-.1-.1-.2-.1-.2-.1l-3.4-.2-2.1-2.1c-.1-.1-.2-.1-.3-.1l-1.8 36.1L38 39.5 33.3 8.9zm-7.5-3l-.9.3c-.6-1.6-1.3-2.8-2.3-3.5-.7-.5-1.5-.7-2.3-.6l-.6-.6c-.9-.7-2.1-.9-3.6-.3C11.8 2.7 10 8.3 9.3 11l-3.8 1.1s-.9.2-1.1.5c-.2.3-.3 1-.3 1L.9 37.9l23.6 4.4L26.3 6c-.2-.2-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6 4.9-1.6 1.2 0 2.1.2 2.7.4l-1 3.9c-.4-.1-.9-.3-1.6-.3-1.7 0-2.7 1.5-3 3.2l-.2.8h3.5l-.7 3.7h-3.5l-2.7 14h-4.8zm18-17.7l.8 7.9c.2 1.8.4 3.3.4 4.2h.1c.4-.9.8-2.3 1.5-4.2l3.1-7.9h5.2l-6.1 13.1c-2.2 4.5-4.3 7.7-6.6 9.9-1.8 1.7-3.9 2.5-4.9 2.7l-1.4-4.2c.8-.3 1.9-.7 2.8-1.4 1.2-.8 2.1-1.9 2.7-3 .1-.3.2-.5.1-1.9l-3-15.2h5.3z"/></svg>
<span class="icon__fallback-text">Shopify</span>
</a>
{%- endcapture -%}
{{ 'general.password_page.powered_by_shopify_html' | t: shopify: shopify }}
</div>
</footer>
</div>

<div id="LoginModal" class="modal modal--solid">
<div class="modal__inner">
<div class="modal__centered text-center">
<div class="password-form">
<p class="h4">{{ 'general.password_page.login_form_heading' | t }}</p>
{%- form 'storefront_password' -%}
{{ form.errors | default_errors }}
<label for="password" class="hidden-label">{{ 'general.password_page.login_form_password_label' | t }}</label>
<div class="input-group">
<input type="password" name="password" id="password" class="input-group-field" placeholder="{{ 'general.password_page.login_form_password_placeholder' | t }}" autofocus>
<div class="input-group-btn">
<button type="submit" class="btn">
{{ 'general.password_page.login_form_submit' | t }}
</button>
</div>
</div>
{%- endform -%}
</div>
<p class="password-admin-link">
<small>
{{ 'general.password_page.admin_link_html' | t }}
</small>
</p>
</div>
</div>

<button type="button" class="modal__close js-modal-close text-link">
<svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-close" viewBox="0 0 64 64"><path d="M19 17.61l27.12 27.13m0-27.12L19 44.74"/></svg>
<span class="icon__fallback-text">{{ 'general.accessibility.close_modal' | t | json }}</span>
</button>
</div>

</body>
</html>

0 Likes