게시물 글씨를 흰색으로 바꾸고싶어요
관련링크
본문
사이트는 실제 토토사이트가 아니며 친구들끼리 노는 사이트입니당ㅎㅎ
답변 7
/theme/hz-black-free2/skin/latest/basic/style.css
이 안에
@charset "utf-8"; /* SIR 지운아빠 */ /* 새글 스킨 (latest) */ .lt_pc {float:left;margin-left:20px} .lt {position:relative;float:left;margin-bottom:20px;padding-bottom:10px;width:354px;height:150px;border-bottom:1px solid #e9e9e9} .lt ul {margin:0 0 10px;padding:0;list-style:none} .lt li {padding:3px 0; color:#fff;} .lt li a {color:#fff;} .lt .lt_title {display:block;padding:10px 0 8px} .lt .lt_more {position:absolute;top:10px;right:0} .lt .cnt_cmt {display:inline-block;margin:0 0 0 3px;font-weight:bold}
복사 붙여넣기 하세요
.lt ul li { font-color:#fff } 한번 해보세요
<style>
.lt ul li { color:#fff }
</style>
<?php
define('_INDEX_', true);
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (G5_IS_MOBILE) {
include_once(G5_THEME_MOBILE_PATH.'/index.php');
return;
}
include_once(G5_THEME_PATH.'/head.php');
?>
<h2 class="sound_only">최신글</h2>
<!-- 최신글 시작 { -->
<?php
// 최신글
$sql = " select bo_table
from `{$g5['board_table']}` a left join `{$g5['group_table']}` b on (a.gr_id=b.gr_id)
where a.bo_device <> 'mobile' ";
if(!$is_admin)
$sql .= " and a.bo_use_cert = '' ";
$sql .= " order by b.gr_order, a.bo_order ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
if ($i%2==1) $lt_style = "margin-left:20px";
else $lt_style = "";
?>
<div style="float:left;<?php echo $lt_style ?>">
<?php
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
// 사용방법 : latest(스킨, 게시판아이디, 출력라인, 글자수);
// 테마의 스킨을 사용하려면 theme/basic 과 같이 지정
echo latest('theme/basic', $row['bo_table'], 5, 25);
?>
</div>
<?php
}
?>
<!-- } 최신글 끝 -->
<?php if(defined('_INDEX_')) { // index에서만 실행 ?>
<div id="aside">
<?php echo outlogin('theme/basic'); // 외부 로그인, 테마의 스킨을 사용하려면 스킨을 theme/basic 과 같이 지정 ?>
<?php echo poll('theme/basic'); // 설문조사, 테마의 스킨을 사용하려면 스킨을 theme/basic 과 같이 지정 ?>
<div class='adsense160'>
<a href='http://www.homzzang.com'><img src='http://placehold.it/160x600'></a>
</div>
</div>
<? } ?>
<?php
include_once(G5_THEME_PATH.'/tail.php');
?>
<style>
.lt ul li { color:#fff }
</style>
skin/border/basic/style.css
.lt ul li { color:#fff !important; }
이거 넣어주시면 됩니다.
네네