Replies: 5 comments 2 replies
-
Is this not working for you? $egChameleonExternalStyleModules = [
__DIR__ . '/themes/united_bootswatch.scss' => 'afterMain',
]; |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply! |
Beta Was this translation helpful? Give feedback.
-
When I do that, it messes up the Bootswatch theme completely. I suppose that is because I have a CSS file with customizations, and not another SCSS file to apply on top of Bootswatch. |
Beta Was this translation helpful? Give feedback.
-
I spoke too soon. The Bootswatch theme is fine. I was just applying changes I didn't see before because they were cached. |
Beta Was this translation helpful? Give feedback.
-
I checked it and that ended up just moving my problem. The custom css file was indeed placed after Chameleon and Themes, but it came before other extensions I was also trying to override. It looks like what I am after is wider than Chameleon and about placing a CSS file on top of everything else in the wiki. Thanks again for the help.. I will keep looking in the resource loader documentation. |
Beta Was this translation helpful? Give feedback.
-
Hi. Is there a way to ensure a CSS file is processed AFTER the CSS files used by Chameleon? (including a Bootswatch theme).
I would like to make adjustments and I played with the resource loader definition, but not matter what I have tried so far, the CSS file from Chameleon is loaded last and takes priority over my changes.
Beta Was this translation helpful? Give feedback.
All reactions