MyBB Community Forums

Full Version: How to add JS and CSS directly into the templates?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to add JS and CSS directly into the templates?


is there a specific way to test snippets directly in the templates?
you can add the css and js using the <style> and <script> tags respectively...
no need to add ?

Quote:<!-- CONTENT -->
Add scripts where you need it between:
<script type="text/javascript">

// js content

</script>

or

<style type="text/css">

// css content

</style>