Wow! This is GREAT! I would give you 10 likes if i could. Just what I was looking for. Couldnt belive that I have to creat custom themes every single time I want to change a header!This might be what you want in extra.less (where XX is the node ID )
Code:[data-container-key="node-xx"] { .p-header {background:url(PATH_TO_IMAGE);}}
Might be good to mark the answer as solution so useful for others with same questionWow! This is GREAT! I would give you 10 likes if i could.
One last thing.Might be good to mark the answer as solution so useful for others with same question
Try it and see. But I think this will work:One last thing.
If I have a category with like 50 forums and 100 threads. What's the best way to do it?
Do I really need to copy this line 150 times in extra.less or can I make a list that works? Something like:
[data-container-key="node-1,2,3,4,6,7,8"]
{
.p-header
{background:url(PATH_TO_IMAGE_01);}}
[data-container-key="node-45,34,64,34"]
{
.p-header
{background:url(PATH_TO_IMAGE_02);}}
??
Thnaks
[data-container-key="node-1"],[data-container-key="node-2"],[data-container-key="node-3"]
{
.p-pageWrapper
{background-image:PATH_TO_IMAGE}}
We use essential cookies to make this site work, and optional cookies to enhance your experience.