Disable widget only in mobile - possible
-
It is planned https://github.com/NodeBB/NodeBB/issues/2302
-
It is planned https://github.com/NodeBB/NodeBB/issues/2302
-
For now just wrap it in a div and use a media query to set that div to display:none below a certain viewport.
@a_5mith what would the the query look like that can differentiate between mobile and desktop
can you use navigator.userAgent.match(/iPhone/i) etc..
don't currently have phone to check , but will try work some code up when I have access.
maybe you can use it in your ACP - disable for mobile devices checkbox on widget
-
hidden-xs
Copyright © 2025 NodeBB | Contributors