Hide or show certain parts of the content depending on device
-
Hi! I purchased AstraPro last week and I’m in the process of building from a staging site before I switch my theme over from WordPress Bard. I’m just using the Gutenberg builder.
On my old theme, I was able to use some generic CSS to hide or show parts of my content (e.g. an extra ad, an image with a different orientation, or an instruction to turn your phone around). I’ve added this same CSS to my header and customizer, but it’s not having any effect in-content, (where I use <div class=”mobileShow”></div>).
Is there specific CSS I need to add to Astra to be able to do this in my new theme please? It’s the only thing stopping me switching over from staging.
Thanks!
- The topic ‘Hide or show certain parts of the content depending on device’ is closed to new replies.