Add possibility to change the category order in the "Show details"
under review
christophe lestienne
In the "Show details" popup, as seen by the user, the different categories are listed in an strange order: "Strictly necessary", "Performance", "Targeting", "Functionality".
A more common order would be Necessary, Functional, Performance, Targeting
The current HTML/CSS does not allow us to freely reorder the blocks...
T
Thomas
under review
Jānis Elmeris
If you're OK with using CSS, you can use it to reorder the blocks:
/
Change category order.
/#cookiescript_declarationwrap {
display: flex;
flex-direction: column;
}
#cookiescript_declarationwrap > div:nth-child(1) { /
Necessary
/order: 1;
}
#cookiescript_declarationwrap > div:nth-child(2) { /
Performance
/order: 3;
}
#cookiescript_declarationwrap > div:nth-child(3) { /
Targeting
/order: 2;
}
#cookiescript_declarationwrap > div:nth-child(4) { /
Functionality
/order: 4;
}
#cookiescript_declarationwrap > div:nth-child(5) { /
Unclassified
/order: 5;
}
christophe lestienne
Jānis Elmeris
Thanks for this tip, that's indeed what I wanted to do...
I would obviously be a bit easier with some classes, but as long as you don't change the structure, it fits the bill!