Changing fonts across my website (starting with categories)
Unsolved
Technical Support
-
Hi all,
New to NodeBB, currently trying to change fonts across my website.
I understand I can do this easily by editing the CSS, indicating which component and then which font to use:
[component="post"] {
font-family: "garamond";
}My question is: if I want to edit the category titles in my Categories page, which "component" should I refer to?
Is there a list of values "component" can take? Would be good to have that because it would make me easier to edit say topic titles/comments/body etc.
Thanks,
Joao -
@JDouglas You should target the below CSS class for this
li[component="categories/category"] .title
You could just use
.title
although this is a shared class, and without explicit definition as above, it will have undesirable effects.
Copyright © 2024 NodeBB | Contributors