레이아웃 | G5 기본 레이아웃 텍스트 크기 선택 부분 삭제하기
페이지 정보
작성자 YJNet 작성일13-11-25 17:53 조회15,704회 댓글0건본문
그누보드5 기본 레이아웃에 있는 텍스트 크기 선택하기(기본,크게,더크게) 삭제하는 방법입니다.
1. /head.php 파일의 끝부분에 있는 아래 내용을 삭제합니다.
<div id="text_size">
<!-- font_resize('엘리먼트id', '제거할 class', '추가할 class'); -->
<button id="text_size_down" onclick="font_resize('container', 'ts_up ts_up2', '');"><img src="<?php echo G5_URL; ?>/img/ts01.gif" alt="기본"></button>
<button id="text_size_def" onclick="font_resize('container', 'ts_up ts_up2', 'ts_up');"><img src="<?php echo G5_URL; ?>/img/ts02.gif" alt="크게"></button>
<button id="text_size_up" onclick="font_resize('container', 'ts_up ts_up2', 'ts_up2');"><img src="<?php echo G5_URL; ?>/img/ts03.gif" alt="더크게"></button>
</div>
<!-- font_resize('엘리먼트id', '제거할 class', '추가할 class'); -->
<button id="text_size_down" onclick="font_resize('container', 'ts_up ts_up2', '');"><img src="<?php echo G5_URL; ?>/img/ts01.gif" alt="기본"></button>
<button id="text_size_def" onclick="font_resize('container', 'ts_up ts_up2', 'ts_up');"><img src="<?php echo G5_URL; ?>/img/ts02.gif" alt="크게"></button>
<button id="text_size_up" onclick="font_resize('container', 'ts_up ts_up2', 'ts_up2');"><img src="<?php echo G5_URL; ?>/img/ts03.gif" alt="더크게"></button>
</div>
2. 텍스트크기 선택부분 삭제로 인한 상단여백 조절하기
/css/default.css 파일에서 #wrapper 부분을 찾아서 위쪽여백 50px를 20px 정도로 수정
#wrapper {margin:50px auto;} ==> #wrapper {margin:20px auto 50px;}
댓글목록
등록된 댓글이 없습니다.