Site logo

Archived topic

Can use on CodeSnippets?

1 reply · Started by IBNU AHMAD on June 6, 2021

Viewing posts 1–2 of 2

Hi,

I can use

using Elements.
Buat can I use it on CodeSnippet plugin?

I just want to hide it from Desktop and Table. Just show the ads (within content) on mobile only.

Hi there,

You should be able to use <div class="hide-on-desktop hide-on-tablet"> anywhere HTML and CSS is permitted.

Can you specify what code you're trying to apply it on?

If the HTML is rendered by a script, It's possible that you can't inject the hide classes on it so you may as well use the selectors on the rendered ad HTML to hide it with custom CSS.

Let us know.

This archived topic is closed to new replies.