Jump to content

Problem with custom css in child theme

Recommended Posts

Hi everyone ! 

I've created a child theme from the Electrive theme (Prestashop 

In the config/theme.yml, I set use_parent_asset to true.
But the parent's css assets are not loaded UNLESS we delete the custom.css file in the child theme... 

So that's what we did, hoping that we would be able to load another custom css file in the theme.yml, like so :

    - id: caplaser
      path: assets/css/caplaser.css
      priority: 1000

We deleted the cache, and even deleted the config/themes/child_electrive/shop1.json file, just to be sure, but it also fails... 

Has anyone any idea what is wrong ? 

Any help would be apreciated. 




  • Like 1

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More