Yes, you can control the visibility of HTML widgets for ads on mobile or desktop in SoCast Engage by using built-in CSS classes. This allows you to display one widget on desktop and another on mobile, hiding each on the opposite platform.
To show or hide HTML widgets based on screen size:
.sc-hide-on-small-screens
to the widget's HTML container..sc-show-on-small-screens
to the widget's HTML container..sc-hide-on-small-screens
will be hidden on screens narrower than 960px, and content with .sc-show-on-small-screens
will be shown only on screens narrower than 960px.This method allows you to manage ad visibility responsively without custom code. If you need further assistance implementing these classes, please contact SoCast support.