모바일 스킨 글자 크기 질문 입니다..
본문
모바일 스킨에 보면 글자 크기가 세단계로 되어 있습니다..
가장 작은 글씨가 기본 인데...
기본을 중간 단계로 고정 할 수 있나요..
답변 1
먼저
1. mobile > head.php 172라인 다음 처럼 수정.
<div id="text_size">
<!-- font_resize('엘리먼트id', '제거할 class', '추가할 class'); -->
<button id="size_down" onclick="font_resize('container', 'ts_up ts_up2', 'ts_down');"><img src="<?php echo G5_URL; ?>/img/ts01.gif" alt="작게"></button>
<button id="size_def" onclick="font_resize('container', 'ts_up ts_up2', '');"><img src="<?php echo G5_URL; ?>/img/ts02.gif" alt="기본"></button>
<button id="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 > mobile.css
76라인
#container {position:relative;min-height:300px;font-size:1.167em} //삽입
83라인
.ts_down {font-size:0.75em !important} //.ts_up을 ts_down으로 교체 글자크기 변경
이렇게 해 보세요.
안되시면 댓글 주시구요 ^^