Support Color node or category

Solution
How can I identify the Category I want to add the color to?
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.
Code:
/* Coloured Node Categories */
.block.block--category.block--categoryXXX .block-header {
    background: #009ACF;
    color: #ffffff;
}
/**********/
Change X to your node ID.

How do I find node ID?
It's simple to find it. Just hover on your Node Category Title like in example below and check for the ID:
Code:
CSS:
.block.block--category.block--category21 .block-header {
    background: #7CA430;
    color: #ffffff;
}

Elixir

Registered
How can I identify the Category I want to add the color to?
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.
Code:
/* Coloured Node Categories */
.block.block--category.block--categoryXXX .block-header {
    background: #009ACF;
    color: #ffffff;
}
/**********/
Change X to your node ID.

How do I find node ID?
It's simple to find it. Just hover on your Node Category Title like in example below and check for the ID:
Code:
CSS:
.block.block--category.block--category21 .block-header {
    background: #7CA430;
    color: #ffffff;
}
 
Solution

clangsm.cu

🆔 xen-Forum Developer
Registered
Abra su tema con extra.less e ingrese el ID de su categoría de campo XXX en el código a continuación y agréguelo a la plantilla.
[CÓDIGO]/* Categorías de nodos coloreados */
.block.block--category.block--categoryXXX .block-header {
fondo: #009ACF;
color: #ffffff;
}
/**********/[/CÓDIGO]
Cambie X a su ID de nodo.

¿Cómo encuentro el ID de nodo?
Es sencillo encontrarlo. Simplemente desplace el cursor sobre el Título de la categoría de su nodo como en el ejemplo a continuación y verifique la ID:
[CÓDIGO]CSS:
.block.block--category.block--category21 .block-header {
fondo: #7CA430;
color: #ffffff;
}[/CÓDIGO]

I'll try to work I'll let you know
 
  • Tags
    add on custom nodes
  • Back
    Top Bottom