Hi Lisa,
Perhaps the following code will work for you:
.item-onderwerp ~ .smart-groupbox {
overflow: visible;
span {
white-space: normal;
}
}
.item-onderwerp ~ .smart-groupbox.collapsed {
overflow: hidden;
span {
white-space: <your-value>;
}
}
I’ve replaced the + script + with the ~ sign. Which is the subsequent-sibling element selector.
So instead of overwriting it when it is not collapsed, I would suggest to overwrite when it is collapsed.
Cheers,
Jeffrey
Hi Jeffrey,
Thanks for replying. I see that he can find the class now, but I need to change the class within .item-onderwerp and now I got the groupbox class selected, how to get within the .item-onderwerp class?
Thanks!
Lisa