I would like to remove the hyphen ‘-’ from the page titles, and just have the vertical line.
I can see how to change the store name appearing there, and change the page name, but I can’t find anywhere to change the hyphen.
A user wanted to remove the hyphen separator from their browser tab titles, keeping only the vertical line between the page name and store name.
Solution Provided:
– (a narrow dash character)layout/theme.liquid around line 22snippets/meta-tags.liquidResolution:
The issue was successfully resolved by editing the appropriate theme file to change or remove the – character. The original poster confirmed the fix worked as intended.
I would like to remove the hyphen ‘-’ from the page titles, and just have the vertical line.
I can see how to change the store name appearing there, and change the page name, but I can’t find anywhere to change the hyphen.
Hello @seandrx
Please share your store URL and password (if it’s password-protected),
so that I can check and provide you with the exact solution.
Somewhere here – https://github.com/Shopify/dawn/blob/main/layout/theme.liquid#L22
– is a “narrow dash”
Hi, here is my URL: www.cerafusa.co.uk, password is Testing123
Thanks
Oh wow thank you, that fixed it exactly as I wanted! Thank you!
Hello Tim. Can you please tell me the solution for heritage theme ? The above solution seems to only work for dawn
The code is the same, it’s now in snippets/meta-tags.liquid:
Thank you so much @tim_1