Web Curator Posted February 23, 2017 Share Posted February 23, 2017 Hi Guys, Wich is the best workflow to edit your css file in Prestashop 1.7: - Do you edit the global.css adding more lines? or - Do you edit with SASS like the video below, the scss files? Please give me your point of view about Thanks a lot Link to comment Share on other sites More sharing options...
rocky Posted February 26, 2017 Share Posted February 26, 2017 I'd say using SASS is better, since PrestaShop v1.7 now comes with themes/classic/assets/css/theme.css minified by default. That makes it very inconvenient to modify. Link to comment Share on other sites More sharing options...
Web Curator Posted March 8, 2017 Author Share Posted March 8, 2017 (edited) I totally agree with you Rocky, In your opinion, wich is the best tool to edit with saas? Do you agree with the method of the video above ? Regards Edited March 8, 2017 by Web Curator (see edit history) Link to comment Share on other sites More sharing options...
rocky Posted March 9, 2017 Share Posted March 9, 2017 You can try it. I tried to set up SASS inside Adobe Dreamweaver CC, but I ended up with compile errors. I'll try again with a future version of PrestaShop to see if I can get it to work. Link to comment Share on other sites More sharing options...
Web Curator Posted March 9, 2017 Author Share Posted March 9, 2017 (edited) I have followed the instruction to use SCOUT like mention in the official doc: http://doc.prestashop.com/display/PS16/Using+Sass - The INPUT DIRECTORY IS: /htdocs/prestashop1/themes/classic/_dev/css - The OUTPUT DIRECTORY IS: /xamppfiles/htdocs/prestashop1/themes/classic/assets The App finds 19 errors like: - File to import not found or unreadable: ~bourbon/app/assets/stylesheets/bourbonParent style sheet: theme.scss or Undefined variable: "$brand-primary".products.scss or no mixin named search-box How I can fix it? I seem strange that the original theme as some bugs Edited March 9, 2017 by Web Curator (see edit history) Link to comment Share on other sites More sharing options...
rocky Posted March 10, 2017 Share Posted March 10, 2017 I'm getting errors like that in Dreamweaver too. Try posting a bug report on the Forge. Link to comment Share on other sites More sharing options...
Web Curator Posted March 31, 2017 Author Share Posted March 31, 2017 I found this first GUIDE on line, seems good: https://blog.belvg.com/how-to-create-a-theme-for-prestashop-1-7-part-1.html Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now