XenForo can't remove HTML widget with display: none;

N

nicodak

Guest
Hello,
I created a HTML widget named top_home
In extra.less template i put this code
Less:

Code:
@media (max-width: 900px) {
    [data-widget-key="top_home"] {
        display: none;
    }
}
But it doesn't work, the widget is still displayed under 900px screen.
The same code with non html widgets works... :unsure:

Continue reading...