Coloured Node Categories

Coloured Node Categories

nap

Member
Bassman, thank you the first one forum_overview_new_post only shows colour in Simple display mode, I had that code allready implemented, and as a side bar widget in simple mode it works, but not in Full display mode on top of the forum.. It just ignore the code ?
Code:
/* Coloured Widget Nieuwe Berichten */
[data-widget-key="forum_overview_new_posts"] h3.block-minorHeader {
    background: #7CA430;
    color: #ffffff;
}
And the last one, also doesn't do anything.
Code:
.node.node--id154 a.subNodeLink.subNodeLink--forum {
    color: #7CA430;
}

But I am happy the shoutbox has a colour ! Thank you !
 
Last edited:

BassMan

Well-known member
For subnodes you can use this;
Code:
.node.node--idX a.subNodeLink {
    color: #000000
}
Well, it can be specific if the node is forum, category or link... Read/unread... but let's say this one would work for most.


No, that's the right code:
/* Coloured Widget Nieuwe Berichten */
Code:
/* Coloured Widget Nieuwe Berichten */
[data-widget-key="forum_overview_new_posts"] h3.block-header {
    background: #7CA430;
    color: #ffffff;
}
 
Reactions: nap

nap

Member
Thank you for your great input, ! Strange this one doesn't work in FULL Display mode
Code:
/* Coloured Widget Nieuwe Berichten */
[data-widget-key="forum_overview_new_posts"] h3.block-minorHeader {
    background: #7CA430;
    color: #ffffff;
}

The subnode also doesn't do anything, but is not so important to me.

Think I have to buy the coloured theme once I earned some money from my cheapy members :)
 
Last edited:

nap

Member
Ah ok... I found out the block-header instead of the block-minorHeader.. didn't see that before.. Sorry thank you again..
 

Hristo Avramov

Active member
How can I change background color of categories(1 color for all)? I suspect I will not need a mod, If I edit Highlighted content background color it works but it also changes the color of list notices and I do want to keep this color only for categories. Anyone? Thanks.
 

SyTry

Well-known member
How can I change background color of categories(1 color for all)? I suspect I will not need a mod, If I edit Highlighted content background color it works but it also changes the color of list notices and I do want to keep this color only for categories. Anyone? Thanks.
Hello,

You can use this code in your EXTRA.less if you want to add the same color for all of your categories :
Code:
/*background color category*/
.block.block--category .block-header {
    background: #009688;
}
Regards, SyTry
 
Top