채택완료

사이드바 제거 방법

2022-12-23 (금) 10:31:49 2,130

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

2083692280_1671759024.8039.png

|

답변 3개 / 댓글 4개

채택된 답변
+20 포인트

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

Copy
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%로 수정

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


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

답변에 대한 댓글 2개

캐쉬삭제 후 새로고침 해보세요.
푸른산타님 ~~
캐쉬 삭제 후에 새로 고침해보니 되었습니다.
감사드립니다

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

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

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

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

답변에 대한 댓글 1개

2022-12-23 (금) 10:41:42

태마 -> tail.php

33131571_1671759699.5015.png

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

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

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

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

답변에 대한 댓글 1개

빠른 답변 감사드립니다.
tail.php부분에서 삭제하면
aside 있었던 자리가 공백으로 남아 있습니다.

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