shopify商店隱藏密碼頁面上的頁腳和商店名稱的步驟-ESG跨境

shopify商店隱藏密碼頁面上的頁腳和商店名稱的步驟

shopify新聞
shopify新聞
2022-03-28
點贊icon 0
查看icon 805

您可在密碼頁面上隱藏頁腳分區(qū)。

隱藏密碼頁面上的頁腳

您可在密碼頁面上隱藏頁腳分區(qū)。

步驟:

  1. 在 Shofy 后臺中,轉(zhuǎn)到在線商店 > 偏好設(shè)置

  2. 滾動到密碼保護區(qū)域。在給訪客的信息中,粘貼以下代碼:

<style>footer { display: none; }</style>

您可以將此代碼粘貼在任何現(xiàn)有內(nèi)容的上方或下方。

  1. 點擊保存


在密碼頁面上隱藏您的商店名稱

您可以在密碼頁面上隱藏您的商店名稱。

步驟:

  1. 在 后臺中,轉(zhuǎn)到在線商店 > 偏好設(shè)置

  2. 滾動到密碼保護區(qū)域。在給訪客的信息中,粘貼以下代碼:

<style>h1 { display: none; }</style>

您可以將此代碼粘貼在任何現(xiàn)有內(nèi)容的上方或下方。

  1. 點擊保存


編輯密碼頁面的模板代碼

如果要進行模板設(shè)置中未提供的自定義,則可以編輯密碼頁面的模板代碼。

步驟:

PC:

  1. 在 Shopify 中,轉(zhuǎn)到在線商店 > 模板。

  2. 找到要編輯的模板,然后點擊操作 > 編輯代碼。

  1. 在 Templates 目錄中,點擊 password.liquid

  2. 在 password.liquid 模板中,您將看到一些 Liquid 標簽,這些標簽中包含構(gòu)成密碼頁面的分區(qū)。您的模板可能包含以下 Liquid 標簽:

    Liquid{% section 'password-header' %} Liquid{% section 'password-content' %} Liquid{% section 'password-footer' %}

  3. 要修改上述任意分區(qū)的內(nèi)容,請在 Sections 目錄中點擊以下文件之一:

password-header.liquid - password-content.liquid - password-footer.liquid

  1. 編輯代碼以滿足您的需求。

  2. 點擊保存

Templates 目錄中的 password.liquid 文件通過 {{ content_for_layout }} Liquid 標簽包含在您的模板中,該標簽位于密碼頁面布局文件中。要對密碼頁面布局文件進行任何更改,請點擊 Layout 目錄中的 password.liquid。

若要了解有關(guān) password.liquid 模板的詳細信息,請參閱 password.liquid。

蘋果系統(tǒng):

  1. 在 Shopify 應用中,輕觸商店

  2. 銷售渠道部分中,輕觸在線商店。

  3. 輕觸 Manage themes(管理模板)。

  4. 找到要編輯的模板,然后點擊操作 > 編輯代碼

  1. 在 Templates 目錄中,點擊 password.liquid

  2. 在 password.liquid 模板中,您將看到一些 Liquid 標簽,這些標簽中包含構(gòu)成密碼頁面的分區(qū)。您的模板可能包含以下 Liquid 標簽:

    Liquid{% section 'password-header' %} Liquid{% section 'password-content' %} Liquid{% section 'password-footer' %}

  3. 要修改上述任意分區(qū)的內(nèi)容,請在 Sections 目錄中點擊以下文件之一:

password-header.liquid - password-content.liquid - password-footer.liquid

  1. 編輯代碼以滿足您的需求。

  2. 點擊保存

Templates 目錄中的 password.liquid 文件通過 {{ content_for_layout }} Liquid 標簽包含在您的模板中,該位于密碼頁面布局文件中。要對密碼頁面布局文件進行任何更改,請點擊 Layout 目錄中的 password.liquid

若要了解有關(guān) password.liquid 模板的詳細信息,請參閱 password.liquid

安卓系統(tǒng):

  1. 在 Shopify 應用中,輕觸商店。

  2. 銷售渠道部分中,輕觸在線商店。

  3. 輕觸 Manage themes(管理模板)。

  4. 找到要編輯的模板,然后點擊操作 > 編輯代碼。

  1. 在 Templates 目錄中,點擊 password.liquid。

  2. 在 password.liquid 模板中,您將看到一些 Liquid 標簽,這些標簽中包含構(gòu)成密碼頁面的分區(qū)。您的模板可能包含以下 Liquid 標簽:

    Liquid{% section 'password-header' %} Liquid{% section 'password-content' %} Liquid{% section 'password-footer' %}

  3. 要修改上述任意分區(qū)的內(nèi)容,請在 Sections 目錄中點擊以下文件之一:

password-header.liquid - password-content.liquid - password-footer.liquid

  1. 編輯代碼以滿足您的需求。

  2. 點擊保存。

Templates 目錄中的 password.liquid 文件通過 {{ content_for_layout }} Liquid 標簽包含在您的模板中,該標簽位于密碼頁面布局文件中。要對密碼頁面布局文件進行任何更改,請點擊 Layout 目錄中的 password.liquid。

若要了解有關(guān) password.liquid 模板的詳細信息,請參閱 password.liquid。

Hide the footer on your password page

You can hide the footer section on your password page.

Steps:

  1. From your Shopify admin, go to Online Store > Preferences.

  2. Scroll to the Password protection area. In Message for your visitors, paste the following code:

    <style>footer { display: none; }</style>

    You can paste this code either above or below any existing content.

  3. Click Save.


Hide your store name on your password page

You can hide your store name on your password .

Steps:

  1. From your Shopify admin, go to Online Store > Preferences.

  2. Scroll to the Password protection area. In Message for your visitors, paste the following code:

    <style>h1 { display: none; }</style>

    You can paste this code either above or below any existing content.

  3. Click Save.


Edit the theme code for your password page

If you want to make customizations that are not available in the theme settings, then you can edit the theme code for the password page.

Steps:

PC:

  1. From your Shopify admin, go to Online Store > Themes.

  2. Find the theme you want to edit, and then click Actions > Edit code.

  1. In the Templates directory, click password.liquid.

  2. In the password.liquid template, you will see Liquid tags that include the sections that make up the password page. Your theme might include the following Liquid tags:

    {% section 'password-header' %}
    {% section 'password-content' %}
    {% section 'password-footer' %}
  3. To modify the content of any of the above sections, in the Sections directory, click one of the following files:

    • password-header.liquid

    • password-content.liquid

    • password-footer.liquid

  4. Edit the code to suit your needs.

  5. Click Save.

The password.liquid file in the Templates directory is included in your theme by the {{ content_for_layout }} Liquid tag, which is found in the password page layout file. To make any changes to the password page layout file, click password.liquid in the Layout directory.

To learn more about the password.liquid template, refer to password.liquid.

iPhone:

  1. From the Shopify app, tap Store.

  2. In the Sales channels section, tap Online Store.

  3. Tap Manage themes.

  4. Find the theme you want to edit, and then click Actions > Edit code.

  1. In the Templates directory, click password.liquid.

  2. In the password.liquid template, you will see Liquid tags that include the sections that make up the password page. Your theme might include the following Liquid tags:

    {% section 'password-header' %}
    {% section 'password-content' %}
    {% section 'password-footer' %}
  3. To modify the content of any of the above sections, in the Sections directory, click one of the following files:

    • password-header.liquid

    • password-content.liquid

    • password-footer.liquid

  4. Edit the code to suit your needs.

  5. Click Save.

The password.liquid file in the Templates directory is included in your theme by the {{ content_for_layout }} Liquid tag, which is found in the password page layout file. To make any changes to the password page layout file, click password.liquid in the Layout directory.

To learn more about the password.liquid template, refer to password.liquid.



特別聲明:以上文章內(nèi)容僅代表作者本人觀點,不代表ESG跨境電商觀點或立場。如有關(guān)于作品內(nèi)容、版權(quán)或其它問題請于作品發(fā)表后的30日內(nèi)與ESG跨境電商聯(lián)系。

搜索 放大鏡
韓國平臺交流群
加入
韓國平臺交流群
掃碼進群
歐洲多平臺交流群
加入
歐洲多平臺交流群
掃碼進群
美國賣家交流群
加入
美國賣家交流群
掃碼進群
ESG跨境專屬福利分享群
加入
ESG跨境專屬福利分享群
掃碼進群
拉美電商交流群
加入
拉美電商交流群
掃碼進群
亞馬遜跨境增長交流群
加入
亞馬遜跨境增長交流群
掃碼進群
亞馬遜跨境增長交流群
加入
亞馬遜跨境增長交流群
掃碼進群
拉美電商交流群
加入
拉美電商交流群
掃碼進群
ESG獨家招商-PHH GROUP賣家交流群
加入
ESG獨家招商-PHH GROUP賣家交流群
掃碼進群
《TikTok官方運營干貨合集》
《TikTok綜合運營手冊》
《TikTok短視頻運營手冊》
《TikTok直播運營手冊》
《TikTok全球趨勢報告》
《韓國節(jié)日營銷指南》
《開店大全-全球合集》
《開店大全-主流平臺篇》
《開店大全-東南亞篇》
《CD平臺自注冊指南》
通過ESG入駐平臺,您將解鎖
綠色通道,更高的入駐成功率
專業(yè)1v1客戶經(jīng)理服務
運營實操指導
運營提效資源福利
平臺官方專屬優(yōu)惠

立即登記,定期獲得更多資訊

訂閱
聯(lián)系顧問

平臺顧問

平臺顧問 平臺顧問

微信掃一掃
馬上聯(lián)系在線顧問

icon icon

小程序

微信小程序

ESG跨境小程序
手機入駐更便捷

icon icon

返回頂部

【免費領(lǐng)取】全球跨境電商運營干貨 關(guān)閉