사이드바 제거 방법
본문
답변 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
-------------------------------------------------------------------------------------------------------------------
더 자세한 내용이 궁금하시면 여기 방문하세요
같이 얘기나누며 문제해결에 도움이 되도록 하세요
푸른산타님이 보내 주신 자료로 실행하면
사이드바 내용은 삭제 되는데
공백이 그대로 남아 있습니다.
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}
로 하였습니다.
답변을 작성하시기 전에 로그인 해주세요.