-
Notifications
You must be signed in to change notification settings - Fork 56
CSS does not merge correctly #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I can confirm that the same problem is affecting my installation using porto theme. |
Please refer to http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/css-topics/css-preprocess.html#fedg_css-import to understand the issue.
I am working on a solution to the problem. |
Renaming the files to less solves the problem, but we also need to move the style.css file under admin to let url directives work correctly. To me the best idea would be to totally remove the 'base' dir and add two separate style.css files, one under adminhtml and another one for the frontend. We need to come up also with a solution for the bootstrap aspect, since we do not want conflicts on other pages which are using bootstrap in the template. |
This still does not work so I am opening a new issue.
If you view
xxx.min.css
There is a line which does not exist
import '../PHPCuong_Faq/css/faq-extension/style.css';
I was able to resolve this partially by renaming
/pub/static/frontend/Company/theme/en_US/PHPCuong_Faq/css/faq-extension/style.min.css to style.css
BUT I still get a 404 error on the server for this file
/static/version1513324446/_cache/PHPCuong_Faq/css/faq-extension/style.css
Also I had to remove bootstrap.css because the theme I am using already uses bootstrap and was conflicting with yours.
The text was updated successfully, but these errors were encountered: