Product Swatch Colors for Sectioned Themes (Brooklyn) Can't Figure Out Blue/Grey

New Member
2 0 0

Hello! 

 

I have been following this guide to install color swatches on my Brooklyn theme - but the guide is slightly outdated. In order to add a color swatch to a specific product name there is a naming structure you have to follow, which goes as follows for sectioned themes:

 

"white" -> 'color-White'

"heather grey" -> 'color-Heather\ Grey'

 

But for the life of me I cannot figure out how to do a name with a / in it. All the guides state that it should be:

 

"Blue/Grey" -> color-Blue-Grey"

 

Unfortunately, this is not for sectioned themes. I have tried many combinations trying to incorporate it into my coding but it has not worked.

 

Any help is greatly appreciated!

0 Likes