• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest [XF2] Different colour scheme on a per node basis

Stuart Wright

Well-known member
#1
Having different colour schemes for different categories (and occasionally nodes) gives us the scope to create a more visible differentiation between forum areas and a more colourful forum generally.

So on AVForums, we've had to create a whole bunch of colours in the palette and assign them to the node classes in order for different areas of the forums to have different colours.

Here is how it looks on the Which TV... forum, child of the Home AV category which is designated blue

temp_tvs.jpg

and the Movies forum, child of the Movies, TV & Music category which is designated red.

temp_movies.jpg

For each forum colour, we have a medium colour, a lighter and a darker version, and these provide us everything with we need for each node. But there are lots of new colours in the palette.

upload_2014-9-20_21-56-19.png

And we have to put a load of css in to assign the colours to the various elements - this is just a small snippet of the css for one colour.

upload_2014-9-20_22-0-10.png

For Xenforo 2, could we have an easy way to assign colours to specific nodes, which are inherited by their child forums unless the child forum has its own colours assigned?
Thanks
 

Russ

Well-known member
#2
So on AVForums, we've had to create a whole bunch of colours in the palette and assign them to the node classes in order for different areas of the forums to have different colours.

Here is how it looks on the Which TV... forum, child of the Home AV category which is designated blue

View attachment 84531

and the Movies forum, child of the Movies, TV & Music category which is designated red.

View attachment 84532

For each forum colour, we have a medium colour, a lighter and a darker version, and these provide us everything with we need for each node. But there are lots of new colours in the palette.

View attachment 84529

And we have to put a load of css in to assign the colours to the various elements - this is just a small snippet of the css for one colour.

View attachment 84530

For Xenforo 2, could we have an easy way to assign colours to specific nodes, which are inherited by their child forums unless the child forum has its own colours assigned?
Thanks
Normally I'd say just use child styles and change the single color palette in the child style, then set "force style" on the node options, but you'd have a lot of child styles :D
 

Daniel Hood

Well-known member
#3
Normally I'd say just use child styles and change the single color palette in the child style, then set "force style" on the node options, but you'd have a lot of child styles :D
That was exactly what I anticipated saying when I saw the thread title and let it go for the same reason.

The feature might be a good idea.