How can we add custom css js files in Smf 2.1?

Started by gecitli, February 09, 2021, 02:14:24 PM

Previous topic - Next topic

gecitli

Quote from: SMF Customization Team on February 09, 2021, 01:32:31 PM
Hello gecitli,

- Regarding the css, it's written in the comments, you can add your custom css or js files after the template has loaded the appropriate files.
E.g. You'd load your custom css files after this:
// load in any css from mods or themes so they can overwrite if wanted
template_css();



loadCSSFile('css.css');

Apart from the code above, it was also not valid when I could not get an answer to my production questions.
http://www.webtiryaki.com
webmaster forumu
Free & Premium Responsive Themes for SMF.

Advertisement: