Theme path

Hi,

I’m trying to change some of the colors of the basic theme so I’ve duplicated the style.simple.css and settings.scss to a different folder and changed the settings accordingly (I think) but commerce doesn’t seem to pick it up.

The location of the css file is assets/css/elbayo/style.simple.css (in the webroot) and commerce.themes_path is changed to /assets/css/ (but also tried to add {base_path} and the full path starting from the root) and nothing happens. The
commerce.theme setting is changed to elbayo.

I’m probably overlooking something, but no idea what.

thanks!

The themes path only affects twig templates. You’ll want to disable the default CSS and manually insert your custom CSS into the <head> of your MODX template.

1 Like

Ok, that was easier than I thought :slight_smile:

1 Like