하단 모바일버전가기 중앙 움기는 방법좀 알려주세요 ㅠㅠ(코드 다시올렸어요)

하단 모바일버전가기 중앙 움기는 방법좀 알려주세요 ㅠㅠ(코드 다시올렸어요)

QA

하단 모바일버전가기 중앙 움기는 방법좀 알려주세요 ㅠㅠ(코드 다시올렸어요)

본문


<!-- 하단 시작 { -->
<div id="ft">

    <div id="ft_wr">
        <div id="ft_link" class="ft_cnt">
        <a href="<?php echo get_device_change_url(); ?> " style="color:#03c75a; font-size:28px;" >모바일버전</a>
    </div>
        <div id="ft_company" class="ft_cnt">
            <h2></h2>
            <p class="ft_info">

            </p>
        </div>

 

코드랑 사입하는 곳좀 알려주세요 ㅠㅠ 아무리해도 안되네요 ㅠㅠ

이 질문에 댓글 쓰기 :

답변 3

테마 basic/css/default.css

179줄에 #ft부분에서 text-align: center; 삭제하시구 

181줄에 #ft_wr부분에서 max-width: 1240px;  margin: 0; position: relative; text-align: left; 삭제하시구

display:inline-block에서 block으로 변경 width: 200px;  margin: auto; 추가

183줄  #ft_wr .ft_cnt부분에서 width: 25%; ​float: left; 삭제

하시면 될겁니다. 그러면 로그인부분영역인 #wrapper부분이 전체로 커지실건데 그거는 푸터로 width정해서 그런거같아요 정위치로 옮기시고 싶으시면 #wrapper부분 css에 width: 1200px; margin: auto; 추가하시면 될겁니다. width부분은 본인이 맞게 수정하시면 됩니다.

위치 변경을 말씀하시는거면 CSS를 보여주셔야 될거같은데요

크롬에서 해당영역 우클릭 검사 누르시면 나옵니다.

179줄에 #ft부분에서 text-align: center; 삭제하시구
181줄에 #ft_wr부분에서 max-width: 1240px;  margin: 0; position: relative; text-align: left; 삭제하시구
display:inline-block에서 block으로 변경 width: 200px;  margin: auto; 추가
183줄  #ft_wr .ft_cnt부분에서 width: 25%; ​float: left; 삭제

이렇게 안되시나요? 제가 테스트할때는 정상적으로 위치가 변경이 됩니다.

흠 ㅠㅠ 수정 했는데 안되네요 ㅠㅠ

/* 중간 레이아웃 */
#wrapper {}
#container_wr:after {display:block;visibility:hidden;clear:both;content:""}
#container_wr {margin:0 auto;height:100%;zoom:1}
#aside {float:right;width:235px;padding:0;height:100%;margin:20px 0 20px 20px}

#container {position:relative;float:left;min-height:500px;height:auto !important;margin:20px 0;height:500px;font-size:1em;width:930px;zoom:1}
#container:after {display:block;visibility:hidden;clear:both;content:""}
#container_title {font-size:1.333em;margin:0 auto;font-weight:bold}
#container_title span {margin:0 auto 10px;display:block;line-height:30px}

.lt_wr {width:32%}
.lt_wr:nth-child(3n+1) {clear:both}
.latest_wr {margin-bottom:20px}
.latest_wr:after {display:block;visibility:hidden;clear:both;content:""}
.latest_top_wr {margin:0 -10px 20px}
.latest_top_wr:after {display:block;visibility:hidden;clear:both;content:""}

/* 하단 레이아웃 */
#ft {background;margin:0 auto;}
#ft h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#ft_wr
#ft_wr:after {block:width: 200px;  margin: auto; ;visibility:hidden;clear:both;content:""}
#ft_wr .ft_cnt {padding:0 20px}

#ft_link {text-align:left}
#ft_link a {display:block;color:#fff;line-height:2em;font-weight:bold}
#ft_company h2 {font-size:1.2em;margin-bottom:20px}
#ft_company {font-weight:normal;color:#e3e3e3;line-height:2em}
#ft_catch {margin:20px 0 10px}
#ft_copy {text-align:center;width:1200px;margin:0 auto;padding:20px 0;color:#5b5b5b;font-size:0.92em;border-top:1px solid #383838}
#top_btn {position:fixed;bottom:20px;right:20px;width:50px;height:50px;line-height:46px;border:2px solid #202020;color:#333;text-align:center;font-size:20px;z-index:90;background:rgba(255,255,255,0.5)}
#top_btn:hover {border-color:#3059c7;background:#3059c7;color:#fff}

/* 게시물 선택복사 선택이동 */
#copymove {}

160번줄부터 194번까지 복사한 내용입니다.

답변을 작성하시기 전에 로그인 해주세요.
전체 123,639 | RSS
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT