Custom CSS in ACP
Unsolved
Technical Support
-
-
This post is deleted!
-
This post is deleted!
-
@baris Okay, I just made it work. I just copied useCustomHTML from Persona and added style type. It looks like this now.
{{{if useCustomHTML}}} {{customHTML}} {{{end}}} {{{if useCustomCSS}}} <style type="text/css">{{customCSS}}</style> {{end}}}
and this code does not work anymore, just FYI:
https://github.com/pichalite/nodebb-theme-slick/blob/master/templates/header.tpl#L25-L27<!-- IF useCustomHTML --> {{customHTML}} <!-- END --> <!-- IF useCustomCSS --> <style type="text/css">{{customCSS}}</style> <!-- END -->
Copyright © 2024 NodeBB | Contributors