배너가 모바일에서 출력 안되게 하려고 합니다.
본문
다온테마에서 모바일에서는 출력이 안되게 하려고 합니다.
그런데 아래와 같이 했는데 모바일에서도 출력이 됩니다.
어떻게 하면 모바일에서 출력이 안되게 할 수 있나요?
감사합니다.
<?php
if (!G5_IS_MOBILE{ ?>
<div id='bottom_banner'><br><br>
<a href="https://open.kakao.com/o/xxxxxxxxxxxxxxxxxxxx" target="_blank"><img src="<?php echo G5_THEME_URL;?>/html/image/kakao_large.png" alt="sns" width="400px" height="120px"></a><br><br>
<div>
<style type="text/css">
#bottom_banner
{
position: fixed;
float:center;
width:150px;
height:50px;
margin-right:50%;
bottom:280px;
right:3%;
z-index: 9999;
}
</style>
<?php } ?>
답변을 작성하시기 전에 로그인 해주세요.