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. 




Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

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