Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
I would like to know how can I change my logo in some pages? My logo is white on the homepage, as I want it to be.. but in some pages I need another one.
Thank you in advance !
Solved! Go to the solution
This is an accepted solution.
The code I've sent you is not the final one, just an example. I don't know the exact code of your store - if you'd like me to do this myself, please contact me in DM. 🙂
Hi @Eli90 , you should include condition, I suppose that you're talking about the logo in your header, so you should go to edit code > sections > header.liquid, find code related to your logo and add this:
{% if product.url %}
// logo for products
{% elsif page.url %}
//logo for pages
{% elsif template == 'index'%}
//logo for homepage
{% endif %}
thank you for giving me a hand. Unfortunately it didn't work 😞
Not sure why...
My website is: https://sugar-free-eu.myshopify.com/
Pass: everit
(Debut theme)
This is an accepted solution.
The code I've sent you is not the final one, just an example. I don't know the exact code of your store - if you'd like me to do this myself, please contact me in DM. 🙂
Hi, can you please elaborate on how to do this? I am using the Dawn theme and I am stuggling to have a different logo for my homepage compared to other pages. Thank you!
@MarinaPetrovic I think the community would appreciate if you can post the exact code or correspondence with OP on here for everyone to see. There are some of us who are trying to do the same thing for our online stores. 😅 Thanks!
Hi @libertyworks, since there isn't some universal solution, it would be helpful to tell me more about your problem. What exactly do you want to achieve? 🙂
what the solution?
I really need your help, can you solve this for me?
Hi @ziadhalloumi , there is no universal solution for this. I offer customization services. If you'd like my help please send me a message in DM.
How did you do it ziyad?
Hi @MarinaPetrovic ...I am looking to do this project for my store. I can't seem to find out how to send you a DM...can you send me a note so we can connect on your services? Thank you, Matt
Hello, how could I contact you? Somehow on your profile I don't have a possibility to text you
Hi Marina,
do you offer customization service ?
I also have a problem with "second logo" and I would like to replace the main logo, with the second, on some collections or specific pages or products.
Theme used: Halo
Waiting for your kind reply
Hi, yes I do. Please DM if you still need help with this. 🙂
Hi Marina, I cant seem to find how to DM you to discuss services, are you able to send me a message?
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025