New thread button color for each node page

  • Thread starter Thread starter nicodak
  • Start date Start date

nicodak

Guest
Member
Hello,

I want to change the New Thread button for each forum nodes in a category. I was successful with this code for one node
Less:

Code:

Code:
[data-container-key="node-69"] {
    .button.button--cta, a.button.button--cta {
        background: rgb(0, 157, 220);
        border-color: rgb(0, 157, 220);
    }
    .button.button--cta, a.button.button--cta:hover {
        background: rgb(0, 146, 204);
        border-color: rgb(0, 157, 220);
    }
}
I've got a lot of nodes do i have to repeat this...

Read more

Continue reading...
 
Top