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 1.7.6.1). 

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 :

css:
  all:
    - 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. 

Cheers, 

 

Ben

  • Like 1
Link to comment
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...