Hello -
I would like to be able to load the style through the info style, per the configuration:
"Load active style for the theme when the editor is inactive. You can also add a line to the info file of your theme like this: stylesheets[all][] = /path/to/cssfile after you copied the file to your theme path. If you do that, you can ignore this setting completely and even disable this module after you have themed your website."
This is the current path file, I think, and I tried several varations of the path and it did not load after unmarking Load Style:
public_html/sites/default/files/sweaver/sweaver_acquia_prosper_5_live.css
I copied sweaver_acquia_prosper_5_live.css directly to the theme folder and removed the path and it still did not work.
Am I misunderstanding the concept or misapplying it or both? It seems that disabling any module might improve a production site and that is my goal.
Thank you.
Comments
Comment #1
jyve commentedHi, when adding css files through an .info file, the path starts at the root of that theme folder. In your case that would just be stylesheets[all][] = sweaver_acquia_prosper_5_live.css if the css file is in the root of your theme.
Be sure to clear your cache after updating the .info file!
Comment #2
itserich commentedThanks that worked!
That path was actually the last one I tried, and I must not have cleared the cache.
Great to see it work. Thank you.