You are browsing the documentation for version 4.1 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Security Support ends in January 2023. Read version 5.0 (the latest LTS version) of the Oro documentation to get the updated information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
Override, Remove, Disable Files
Override or Disable Files
To remove or override scss/css, create an assets.yml file in your theme and write the following config in
1 2 3 4
styles: inputs: - 'bundles/oroform/blank/scss/styles.scss': ~ // file will be removed from build process - 'bundles/oroform/blank/scss/styles.scss': 'bundles/oroform/your_theme/scss/styles.scss' // file will be overridden
Remove Unnecessary Oro Files
Remove all scss/css: all themes use styles registered in this theme and from parent themes. You cannot change this behavior without changes in assets build logic. To remove all assets, override oro_layout.assetic.layout_resource service in your bundle and customize assets collect logic.