- Thread starter
- #1
Hola Hello, how can I add color to the name of a node or category?
Open your theme with extra.less and enter the ID of your XXX field category in the code below and add it to the template.How can I identify the Category I want to add the color to?
/* Coloured Node Categories */
.block.block--category.block--categoryXXX .block-header {
background: #009ACF;
color: #ffffff;
}
/**********/
CSS:
.block.block--category.block--category21 .block-header {
background: #7CA430;
color: #ffffff;
}