Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted December 26, 20204 yr I've hooked a theme in my application, And I'm going to add a css file to this theme. I've added the css file ( here : myapp > dev > css ), but it doesn't attach automatically to the theme like plugins. How can I do it?
December 28, 20204 yr Solution \IPS\Output::i()->cssFiles = array_merge( \IPS\Output::i()->cssFiles, \IPS\Theme::i()->css( 'css-file-name.css', 'myapp', 'front' ) );