I've figured out how to show an element on mobile
<?php if(detectMobile()) { ?>
htmlcode
<?php } ?>
However i'm trying the opposite and want to HIDE an element on mobile.
I know this is possible with css but in this case i don't want to use the display:none
option because its using the same css like some other elements that should not be hidden on mobile. Also creating a unique css is not what i want in this case.