Everything(button etc..) in a category have the same color than the category background
-
you're talking about the category view right? ex.
NodeBB Themes
A public listing of community themes created by the NodeBB community.
NodeBB Community (community.nodebb.org)
make all the buttons and links coloured the same as the category background on the homepage?
then yeah, you have two variables passed in
{bgColor}
and{color}
so you can just go through the category.tpl template file and do something like:<button id="new_post" class="btn btn-primary" style="background: {bgColor}">new_topic_button</button>
-
Thanks @psychobunny , it's exactly what I am looking for.
It's work, i'll try to use that for all the stuff in a category
-
cool, maybe publish the theme when you're done
Copyright © 2024 NodeBB | Contributors