shopify商店隐藏密码页面上的页脚和商店名称的步骤

导读:关于shopify商店隐藏密码页面上的页脚和商店名称的步骤 还有不少人可能还不明白,而曦枫林本文便为大家介绍:shopify商店隐藏密码页面上的页脚和商店名称的步骤。另外如果在本文你没找到你想要的还可以通过文章底部的标签按钮查找更多关于【shopify商店隐藏密码页面上的页脚和商店名称的步骤】的内容哦。

shopify商店隐藏密码页面上的页脚和商店名称的步骤

隐藏密码页面上的页脚您可在密码页面上隐藏页脚分区。步骤:在 Shopify 后台中,转到在线商店?>?偏好设置。滚动到密码保护区域。在给访客的信息中,粘贴以下代码:footer?{?display:?none;?}您可以将此代码粘贴在任何现有内容的上方或下方。点击保存。在密码页面上隐藏您的商店名称您可以在密码页面上隐藏您的商店名称。步骤:在 Shopify 后台中,转到在线商店?>?偏好设置。滚动到密码保护区域。在给访客的信息中,粘贴以下代码:h1?{?display:?none;?}您可以将此代码粘贴在任何现有内容的上方或下方。点击保存。编辑密码页面的模板代码如果要进行模板设置中未提供的自定义,则可以编辑密码页面的模板代码。步骤:PC:在 Shopify 后台中,转到在线商店?>?模板。找到要编辑的模板,然后点击操作?>?编辑代码。在?Templates?目录中,点击?password.liquid。在?password.liquid?模板中,您将看到一些 Liquid 标签,这些标签中包含构成密码页面的分区。您的模板可能包含以下 Liquid 标签:Liquid {% section 'password-header' %}?Liquid {% section 'password-content' %}?Liquid {% section 'password-footer' %}要修改上述任意分区的内容,请在?Sections?目录中点击以下文件之一:-?password-header.liquid?-?password-content.liquid?-?password-footer.liquid编辑代码以满足您的需求。点击保存。Templates?目录中的?password.liquid?文件通过?{{ content_for_layout }}?Liquid 标签包含在您的模板中,该标签位于密码页面布局文件中。要对密码页面布局文件进行任何更改,请点击?Layout?目录中的?password.liquid。若要了解有关?password.liquid?模板的详细信息,请参阅?password.liquid。苹果系统:在?Shopify 应用中,轻触商店。在销售渠道部分中,轻触在线商店。轻触?Manage themes(管理模板)。找到要编辑的模板,然后点击操作?>?编辑代码。在?Templates?目录中,点击?password.liquid。在?password.liquid?模板中,您将看到一些 Liquid 标签,这些标签中包含构成密码页面的分区。您的模板可能包含以下 Liquid 标签:Liquid {% section 'password-header' %}?Liquid {% section 'password-content' %}?Liquid {% section 'password-footer' %}要修改上述任意分区的内容,请在?Sections?目录中点击以下文件之一:-?password-header.liquid?-?password-content.liquid?-?password-footer.liquid编辑代码以满足您的需求。点击保存。Templates?目录中的?password.liquid?文件通过?{{ content_for_layout }}?Liquid 标签包含在您的模板中,该标签位于密码页面布局文件中。要对密码页面布局文件进行任何更改,请点击?Layout?目录中的?password.liquid。若要了解有关?password.liquid?模板的详细信息,请参阅?password.liquid。安卓系统:在?Shopify 应用中,轻触商店。在销售渠道部分中,轻触在线商店。轻触?Manage themes(管理模板)。找到要编辑的模板,然后点击操作?>?编辑代码。在?Templates?目录中,点击?password.liquid。在?password.liquid?模板中,您将看到一些 Liquid 标签,这些标签中包含构成密码页面的分区。您的模板可能包含以下 Liquid 标签:Liquid {% section 'password-header' %}?Liquid {% section 'password-content' %}?Liquid {% section 'password-footer' %}要修改上述任意分区的内容,请在?Sections?目录中点击以下文件之一:-?password-header.liquid?-?password-content.liquid?-?password-footer.liquid编辑代码以满足您的需求。点击保存。Templates?目录中的?password.liquid?文件通过?{{ content_for_layout }}?Liquid 标签包含在您的模板中,该标签位于密码页面布局文件中。要对密码页面布局文件进行任何更改,请点击?Layout?目录中的?password.liquid。若要了解有关?password.liquid?模板的详细信息,请参阅?password.liquid。Shopify商户官网原文详情:Hide the footer on your password pageYou can hide the footer section on your password page.Steps:From your Shopify admin, go to?Online Store?>?Preferences.Scroll to the?Password protection?area. In?Message for your visitors, paste the following code:footer?{?display:?none;?}You can paste this code either above or below any existing content.Click?Save.Hide your store name on your password pageYou can hide your store name on your password page.Steps:From your Shopify admin, go to?Online Store?>?Preferences.Scroll to the?Password protection?area. In?Message for your visitors, paste the following code:h1?{?display:?none;?}You can paste this code either above or below any existing content.Click?Save.Edit the theme code for your password pageIf 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:From your Shopify admin, go to?Online Store?>?Themes.Find the theme you want to edit, and then click?Actions?>?Edit code.In the?Templates?directory, click?password.liquid.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'?%}To modify the content of any of the above sections, in the?Sections?directory, click one of the following files:password-header.liquidpassword-content.liquidpassword-footer.liquidEdit the code to suit your needs.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:From the?Shopify app, tap?Store.In the?Sales channels?section, tap?Online Store.Tap?Manage themes.Find the theme you want to edit, and then click?Actions?>?Edit code.In the?Templates?directory, click?password.liquid.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'?%}To modify the content of any of the above sections, in the?Sections?directory, click one of the following files:password-header.liquidpassword-content.liquidpassword-footer.liquidEdit the code to suit your needs.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.文章内容来源:Shopify商户官方网站(本文内容根据网络资料整理,出于传递更多信息之目的,不代表本站赞同其观点和立场)

shopify商店隐藏密码页面上的页脚和商店名称的步骤-图1

shopify商店隐藏密码页面上的页脚和商店名称的步骤

shopify商店隐藏密码页面上的页脚和商店名称的步骤发表于2023-01-21,由admin编辑,文章《shopify商店隐藏密码页面上的页脚和商店名称的步骤》由admin于2023年01月21日发布于本网,共6604个字,共486人围观,目录为独立站,如果您还要了解相关内容敬请点击下方标签,便可快捷查找与文章《shopify商店隐藏密码页面上的页脚和商店名称的步骤》相关的内容。

声明:

电子商务学生练习网络建站,网站内容大部分内容为范文,请认真核实其真实性,若有问题敬请联系管理员WXID: ai6ba8删除。

分享:
扫描分享到社交APP
上一篇
下一篇

联系我们

在线咨询: 点击这里给我发消息

微信号:15775053793

9:00~18:00

关注我们