Custom CSS in ACP
Unsolved
Technical Support
-
@baris said in Custom CSS in ACP:
nodebb-theme-slick/templates/header.tpl at master · pichalite/nodebb-theme-slick
Slick theme for NodeBB. Contribute to pichalite/nodebb-theme-slick development by creating an account on GitHub.
GitHub (github.com)
Yup, I do.
-
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