Add custom CSS and scripts safely
Where: Admin → System → Appearance → Custom code
Before you start
This is administrator-controlled executable output, including on admin pages. It is not escaped or audited by the forum. Paste only code you understand/trust. CSS is appended after the base stylesheet, so it can override layout across the whole board.
Step by step
- Keep a copy of your current values.
- Place verification/meta/analytics head code in Inside , body-end scripts in Before , and CSS in Extra CSS.
- Use Print this code to enable/disable the stored code without deleting it.
- Save and test both public and admin screens; change one item at a time.
Settings and behaviour
This is administrator-controlled executable output, including on admin pages. It is not escaped or audited by the forum. Paste only code you understand/trust. CSS is appended after the base stylesheet, so it can override layout across the whole board.
What gets printed
| This is the same idea as a theme's own header code: it runs on the public pages, the admin area included. | Control | What to enter / effect |
|---|---|---|
| Inside | Analytics, a verification meta tag, a font. Initial default: empty. | |
| Before | A chat widget, a cookie notice. Initial default: empty. | |
| Extra CSS | Printed in a <style> block, after the board's own stylesheet. Initial default: empty. | |
| Print this code | Switch off to keep the code without running it — useful while a snippet is being worked on. Initial default: 1. |
Check the result
Verify the desired element and confirm sign-in, admin controls, mobile layout and editor still function.
Common questions and troubleshooting
Site breaks after a snippet: switch Print this code off if Admin remains usable, or restore the backed-up configuration through your recovery process. Do not keep layering fixes over unknown injected code.
