Calling Developers!
We are reenergizing our code contribution process! Learn More

Impossibility to bind a theme to the store [Course Spryker Frontend for Backend Developers]

Options
emiltotsev
emiltotsev Developer Posts: 6 🧑🏻‍🚀 - Cadet

Hello, I executed the simple steps that are described in the video clip Binding a Theme to a Store. I create new folder 'green' in the Pyz/Yves/ShopUi/Theme folder and copied all the files from 'default' to 'green'.

I created the file 'TwigConfig' in folder 'TwigDE, overrided the method 'getYvesThemeNameDefault' to return 'green'.

And finally in frontend-build-config.json I added the theme 'green'.

But finally in the clip we see how the theme is changed in the header tag of the page to 'green', but for me it stays 'default'.

Do you have any idea why this is happening.

Thanks for your support.

Best Regards,

Emil

Answers