Hello!
I would like to ask if there is a way to remove the announcement bar from the product pages only? I found a solution already that worked, because it removed it, but it also left an empty white space at the top of the page.
Thanks in advance!
https://r20561-af.myshopify.com/?_ab=0&_fd=0&_sc=1
Password: theaba
1 Like
Moeed
January 18, 2025, 11:02am
2
Hey @Sicilia2025
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
{%- if template == "product" -%}
{%- endif -%}
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thanks, it worked but the white space I was talking about is still there, is there a way to remove it, by making the product picture position higher?
Hi Sicilia2025
You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file theme.liquid and add the following code in the bottom of the file above tag
{%- if template == "product" -%}
{%- endif -%}
Best,
Esther
1 Like
Thank you so much! Perfect