I have this element (javascript) that overlaps when viewed on mobile, now to get rid of overlapping I want to hide it when viewed on mobile or smaller screens.
here is the code
<script type="text/javascript" src="http://likecontrol.com/ticker2/11031104/custom/3/2/198/bottom/transparent|%23000000|Arial,Arial,Helvetica,sans-serif|1.4em|0.04em|12px|auto|419|0|0|0|center|middle|rectangular|0|%2300ffff" ></script>
then I make it like this
<div class="2leep"><script type="text/javascript" src="http://likecontrol.com/ticker2/11031104/custom/3/2/198/bottom/transparent|%23000000|Arial,Arial,Helvetica,sans-serif|1.4em|0.04em|12px|auto|419|0|0|0|center|middle|rectangular|0|%2300ffff" ></script></div>
and then i put this on css
@media only screen and (max-width: 1026px) {
#2leep {
display: none;
}}
Can anyone help me figure out how to do this? I only have a few knowledge, a newbie here.
`