[RSS Feed/News] can't remove HTML widget with display: none;

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
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:

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom