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

답변 3개 / 댓글 4개
그누보드(영카트) 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}
답변에 대한 댓글 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}
로 하였습니다.
![]()
![]()
답변에 대한 댓글 1개
태마 -> tail.php

-------------------------------------------------------------------------------------------------------------------
더 자세한 내용이 궁금하시면 여기 방문하세요
같이 얘기나누며 문제해결에 도움이 되도록 하세요
답변에 대한 댓글 1개
tail.php부분에서 삭제하면
aside 있었던 자리가 공백으로 남아 있습니다.
답변을 작성하려면 로그인이 필요합니다.