채택완료

모바일 스킨 글자 크기 질문 입니다..

모바일 스킨에 보면 글자 크기가 세단계로 되어 있습니다..

 

가장 작은 글씨가 기본 인데...

 

기본을 중간 단계로 고정 할 수 있나요..

|

답변 1개 / 댓글 1개

채택된 답변
+20 포인트

먼저

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으로 교체 글자크기 변경 

 

이렇게 해 보세요.

안되시면 댓글 주시구요 ^^

 

 

답변에 대한 댓글 1개

감사합니다....잘 됩니다....

헌데 그렇게 수정하면 다시 글자크기별로 눌렀을때 적용이 안됩니다....

하지만 기본이 중간 단계로 설정이 되니 ....제게는 다행이네요..

답변을 작성하려면 로그인이 필요합니다.