nurkka Posted 3 hours ago Share Posted 3 hours ago When using LESS files in blocks, RockPageBuilder compiles them automatically (I believe by using RockFrontend) to one main.css file and includes it in the <head>. Is there any setting or config option to change the name main.css to something else? Link to comment Share on other sites More sharing options...
bernhard Posted 50 minutes ago Share Posted 50 minutes ago Hey @nurkka thx for your question! $rf = $this->rockfrontend(); if ($rf) $rf->styles()->addAll('/site/templates/RockPageBuilder', '', 3); this is what adds all blocks' .less files to the frontend. The default styles() array will compile files to main.css; I could either add a config setting to prevent this, or a module setting, or make it hookable. What would be the ideal workflow/result for you? 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