Jump to content

Edit History

robinvrd

robinvrd


Indentation writing mistake for path line

Hi,

I am trying to setup a child theme of Apparel free theme (from here) on Prestashop 1.7.5 but I am encountering a problem.

When I define my theme.yml as :

parent: apparel
name: child_apparel
display_name: Child theme of apparel's theme
version: 1.0.0
assets:
  use_parent_assets: true
  css:
    all:
      - id: custom-lib-style
        path: assets/css/custom-lib.css

It will properly load the parent assets but will never load my custom-lib.css file.

 

As the parent theme (Apparel) as already styles defined in a custom.css, if I rename my file from custom-lib.css to custom.css, my file is well overriding the one from parent theme.

But I can not use any other name for the file (in order to not overriding parent css).

Hope someone can help me !

robinvrd

robinvrd

Hi,

I am trying to setup a child theme of Apparel free theme (from here) on Prestashop 1.7.5 but I am encountering a problem.

When I define my theme.yml as :

parent: apparel
name: child_apparel
display_name: Child theme of apparel's theme
version: 1.0.0
assets:
  use_parent_assets: true
  css:
    all:
      - id: custom-lib-style
      path: assets/css/custom-lib.css

It will properly load the parent assets but will never load my custom-lib.css file.

 

As the parent theme (Apparel) as already styles defined in a custom.css, if I rename my file from custom-lib.css to custom.css, my file is well overriding the one from parent theme.

But I can not use any other name for the file (in order to not overriding parent css).

Hope someone can help me !

robinvrd

robinvrd

Hi,

I am trying to setup a child theme of Apparel free theme (from here) on Prestashop 1.7.5 but I am encountered a problem.

When I define my theme.yml as :

parent: apparel
name: child_apparel
display_name: Child theme of apparel's theme
version: 1.0.0
assets:
  use_parent_assets: true
  css:
    all:
      - id: custom-lib-style
      path: assets/css/custom-lib.css

It will properly load the parent assets but will never load my custom-lib.css file.

 

As the parent theme (Apparel) as already styles defined in a custom.css, if I rename my file from custom-lib.css to custom.css, my file is well overriding the one from parent theme.

But I can not use any other name for the file (in order to not overriding parent css).

Hope someone can help me !

×
×
  • Create New...