사이드바 제거 방법

사이드바 제거 방법

QA

사이드바 제거 방법

본문

그누보드에서 메인화면과 게시판에서 사이드바 제거하는 방법 부탁드립니다.

2083692280_1671759024.8039.png

이 질문에 댓글 쓰기 :

답변 3

그누보드(영카트) 5.5.8.2.5 원본 basic테마 기준 아래코드 삭제

theme/basic/tail.php
<div id="aside">
   <?php echo outlogin('theme/basic'); // 외부 로그인, 테마의 스킨을 사용하려면 스킨을 theme/basic 과 같이 지정 ?>
   <?php echo poll('theme/basic'); // 설문조사, 테마의 스킨을 사용하려면 스킨을 theme/basic 과 같이 지정 ?>
</div>

 

 

theme/basic/css/default.css 930px을 100%로 수정

#container {position:relative;float:left;min-height:500px;height:auto !important;margin:20px 0;font-size:1em;width:930px;zoom:1}



#container {position:relative;float:left;min-height:500px;height:auto !important;margin:20px 0;font-size:1em;width:100%;zoom:1}

태마 -> tail.php

 

33131571_1671759699.5015.png

 

 

-------------------------------------------------------------------------------------------------------------------

 

더 자세한 내용이 궁금하시면 여기 방문하세요

같이 얘기나누며 문제해결에 도움이 되도록 하세요

 

https://open.kakao.com/o/gzNuQjhe

푸른산타님이 보내 주신 자료로 실행하면

사이드바 내용은 삭제 되는데 

공백이 그대로 남아 있습니다. 

index.php에서

<div class="latest_top_wr">
    <?php 
        echo latest("theme/basic", "b201", 5, 23);
        echo latest("theme/basic", "b202", 5, 23);
    ?>    
</div>

 

 

theme/basic/tail.php 에서 아래 내용 삭제
<div id="aside">
   <?php echo outlogin('theme/basic'); ?>
   <?php echo poll('theme/basic');  ?>
</div>

 

default.css 에서

#container {position:relative;float:left;min-height:500px;height:auto !important;margin:20px 0;font-size:1em;width:100%;zoom:1}

로 하였습니다.

thumb-2083692280_1671761093.0707_730x173.png

thumb-2083692280_1671761104.3226_730x171.png

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

회원로그인

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