I have a site with a wholesale side and a consumer side. For the wholesale pages, I use an if statement in the header.liquid file to replace the main menu with a wholesale menu. Is there a way to do something similar to change the background color of the header for just those pages?
As you already doing this you can add a class name to tag and create a class that will have the background color.
Hope this will help…
1 Like
But how do I call that class out with the if statement?