Jump to content

Unable to register a css file in my theme

Recommended Posts

Hello, I'm trying to make a new theme for prestashop 1.7, I want to include a custom css file.

I have followed instructions in the asset management page( http://developers.prestashop.com/themes/assets/index.html) and tried to register a custom css file with this code in the theme.yml, below the 'author' key and the above the 'meta' key

this way:

      -id: mytheme-css
      path: assets/css/mytheme.css
      media: all
      priority: 100

The css file isn't loaded. I am a beginner to yml.

Help would be greatly appreciated!

  • 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...