Last updated Apr 14th, 2021 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
$292 per month—let's make that $500!Learn more
Register CSS to be injected inside the HEAD tag of a resource.
API Doc: modX::regClientCSS()
void regClientCSS (string $src, [string $media = null])
$src(string) The CSS to be injected before the closing HEAD tag in an HTML response. required
$media(string) Possible values are:
Register a CSS file to the HEAD tag for