Hi,
Can you help me with changing header on a specific page of the store please ?
When I try to hide it on the page, it disappears in the whole website.
Thank you for you help,
Ornella
Hi,
Can you help me with changing header on a specific page of the store please ?
When I try to hide it on the page, it disappears in the whole website.
Thank you for you help,
Ornella
Send me the page link that you want to hide header.
Hi @Ornie
Can you send me the link page that you want to hide the header please? Thank you
HI, Here it is : https://troisforall.com/pages/black-friday-premium
HI, Here it is : https://troisforall.com/pages/black-friday-premium
Please add this code to theme.liquid file, after in Online Store > Themes > Edit code
{% if page.id == 135970554198 %}
{% endif %}
Hi again,
You can follow the instruction here:
Go to Shopify > theme > edit code.
Navigate to theme.liquid file > add the code to above tag.
I hope it helps.
{% style %}
{% if page.id == 135970554198 %}
header { display: none !important; }
{% endif %}
{% endstyle %}
Thank you very much. It worked for header
Can I do the same to remove “announcement bar” ?
Thank you very much. It worked for header
Can I do the same to remove “announcement bar” ?
Hi, to remove the announcement bar, you can add this code to right below the code above. You can click enter to continue to add to below.
.announcement-bar {
display: none;
}
Please update the code
{% if page.id == 135970554198 %}
{% endif %}