Germanico Posted September 24 Share Posted September 24 Prestashop: 8.1.7 Despite prestashop documentation addresing theme registration of css, I not got this working. This is my theme.yml, on my child theme, with classic as parent: assets: use_parent_assets: false css: all: - id: custom-styles path: assets/css/styles.css media: all priority: 100 But despite being clearing cache in backoffice and deleting files in var/cache, the assets css is not loading. In other side, [my theme]/assets/css/theme.css does load by default, despite not being registered on theme.yml Thank for your help. Link to comment Share on other sites More sharing options...
Germanico Posted September 24 Author Share Posted September 24 For those in this same situation. I fix the problem. Just switch theme for default theme (classic), and switch on again your child theme. Seems like prestashop only detect changes on theme.yml when switch on. Link to comment Share on other sites More sharing options...
Divine Posted September 25 Share Posted September 25 Thanks for your feedback. Don't forget to edit your first post and add [solved] in the title Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now