이윰빌더에 좌/우측에 배너 달아보기.
2016-08-12 23:41
15,779
7
2
본문
사이트 좌측 우측에 베너 달기 div 로 했고요.
div하면 위치가 어디인지 몰라서 해메실까봐 배경색을 넣었습니다.
/eyoom/theme/basic2/layout/head_bs.html 에 <div class="wrapper"> 이 줄 아래 넣으시면 됩니다.
zindex는 값을 넣었더니 글쓰기 버튼이나 메뉴 버튼선택시 문제가 발생 되는것 같아서,
div의 zinde값은 제외를 하였습니다.
아래 광고/베너스크립트 부분은 <!--{@eb_banner(여기숫자가바뀜)}-->{.html}<!--{/}--> 베너에서 나오는 스크립트를 복사해서 넣으시기만 하면됩니다.
<div class="wrapper">
<div style="position:fixed;top:30px;left:50%;">
<div style="position:relative;top:0px;left:-735px;border:1px solid #e5e5e5;background:#f2f2f2;height:260px;width:140px;line-height:260px;text-align:center"><!--{@eb_banner(1)}-->{.html}<!--{/}--></div>
</div>
<div style="position:fixed;top:300px;left:50%;">
<div style="position:relative;top:0px;left:-735px;border:1px solid #e5e5e5;background:#f2f2f2;height:260px;width:140px;line-height:260px;text-align:center"><!--{@eb_banner(2)}-->{.html}<!--{/}--></div>
</div>
<div style="position:fixed;top:570px;left:50%;">
<div style="position:relative;top:0px;left:-735px;border:1px solid #e5e5e5;background:#f2f2f2;height:260px;width:140px;line-height:260px;text-align:center">광고</div>
</div>
<div style="position:fixed;top:30px;left:50%;">
<div style="position:relative;top:0px;left:592px;border:1px solid #e5e5e5;background:#f2f2f2;height:260px;width:140px;line-height:260px;text-align:center">광고</div>
</div>
<div style="position:fixed;top:300px;left:50%;">
<div style="position:relative;top:0px;left:592px;border:1px solid #e5e5e5;background:#f2f2f2;height:260px;width:140px;line-height:260px;text-align:center">광고</div>
</div>
<div style="position:fixed;top:570px;left:50%;">
<div style="position:relative;top:0px;left:592px;border:1px solid #e5e5e5;background:#f2f2f2;height:260px;width:140px;line-height:260px;text-align:center">배너스크립트</div>
</div>
메인페이지에 가운데 본문에 넣고 싶으신 분은
/eyoom/theme/basic2/main/index_bs.html 부분에 넣으실 수 있습니다.
<div style="position:relative;top:0px;left:0px;border:1px solid #e5e5e5;background:#f2f2f2;height:115px;width:850px;line-height:115px;text-align:center"><!--{@eb_banner(1)}-->{.html}<!--{/}--></div>
<div style="position:relative;top:5px;left:0px;border:1px solid #e5e5e5;background:#f2f2f2;height:115px;width:850px;line-height:115px;text-align:center">가운데큰베너</div>
2
로그인 후 추천 또는 비추천하실 수 있습니다.
댓글목록7
(글쓴이)님의 댓글
사진 첨부가 되지 않은점은 이해해 주세요.
1님의 댓글
(글쓴이)님의 댓글
저도 찾아보다가 필요했어요.
기능 사용하는것에 저처럼 모르시는 분들이 많으실것 같아서...
댓글이 힘이되긴 하네요. 뿌듯합니다.
2님의 댓글
3님의 댓글
(글쓴이)님의 댓글
4님의 댓글