최신글 문자색 바꾸기, 정보
그누보드 최신글 문자색 바꾸기,
첨부파일
본문
백경동님 최신글을 사용하려하는데요,
일단 최신글에 임의로 나와잇는 배경색 흰색을 빼어버리고 배경이 비치도록 만들고싶습니다,
제 홈배경이 검은계통이라 최신글 글씨를 흰색으로 뽑아야하는데 어떻게 해야할까요?
일단 최신글에 임의로 나와잇는 배경색 흰색을 빼어버리고 배경이 비치도록 만들고싶습니다,
제 홈배경이 검은계통이라 최신글 글씨를 흰색으로 뽑아야하는데 어떻게 해야할까요?
댓글 전체

^^; 아뇨.. ㅎㅎ 질문쟁이님이 저랑 메신저 연결되어 있는데
맨날 어려운것만 물어봐서 ㅡㅡ;;
그래서 ㅎㅎㅎ
맨날 어려운것만 물어봐서 ㅡㅡ;;
그래서 ㅎㅎㅎ
역시 와우님은 먼가가 틀리시네요...

http://wowman.org/?doc=main2.php 여기 샘플 ^^;

일단 css를 수정 하고 해당 최근 게시물의 class를 수정하고,최신글 스킨의 tabel의 배경으로 지정되어 색을 지우고 하면 됩니다..
자 수정 해 봅시다 ^^;
css 수정 하기
그누보드의 루트 폴더에 보시면 style.css 파일이 있습니다.
여기에 보시면 .content { color:#404040; } 부분이 있습니다.
그 아래 하다더 추가 합니다.
.content1 { color:#ffffff; } 이렇게요.. 그럼글자가 힌색으로 지정 되죠...
그리고 올리신 최근 스킨의 파일을 수정 합니다.
-------- 최근 게시물 스킨 내용 --------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table cellpadding="0" cellspacing="0" width="100%">
<tr height="26" >
<td> <img src="<?=$latest_skin?>/DocIcon.gif" align="absMiddle" width="16" height="17">
<b><a style="color:white" href="./?doc=bbs/gnuboard.php&bo_table=<?=$bo_table?>"><?=$bo_subject?></a></b>
</td>
<td align="right">
<!--내용-->
</td>
</Tr>
<tr height="3"><td colspan="2"></td></tr>
</table>
<? for ($i=0; $i<count($list); $i++) { ?>
<table cellpadding="4" cellspacing="0" style="table-layout:fixed;">
<tr>
<td width="110" ><span class=content1> [
<?=$list[$i][date]?>
]</span> </td>
<td width="20"> <img src="<?=$latest_skin?>/i_doc.gif" align="absmiddle" WIDTH="16" HEIGHT="18">
</td>
<td width="100%""> <nobr> <a href='<?="./?doc=bbs/gnuboard.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>'><span class=content1>
<?=$list[$i][subject]?>
<span style='font-size:8pt;'>
<?=$list[$i][commentcnt]?>
</span></span></a>
<?=$list[$i][icon_new]?>
<? if($list[$i][wr_link1]){ ?>
<img src="<?=$latest_skin?>/alim_yellow.gif" align="absmiddle" WIDTH="17" HEIGHT="11">
<a href='<?=$list[$i][wr_link1]?>'>[문서보기]</a>
<?}?>
</nobr> </td>
</tr>
</table>
<? } ?>
<table height="7">
<tr>
<td></td>
</tr>
</table>
-------------------------------------
<span class=content> 을 <span class=content1>로 수정 하고 테이블의 색을 삭제 했습니다.. (__)
그럼.. ㅎㅎ 이렇게 쉬운것좀 물어봐요 ㅜ.ㅜ 맨날 어려운것 물어 보니 답을 잘 못하죠 ㅜ.
자 수정 해 봅시다 ^^;
css 수정 하기
그누보드의 루트 폴더에 보시면 style.css 파일이 있습니다.
여기에 보시면 .content { color:#404040; } 부분이 있습니다.
그 아래 하다더 추가 합니다.
.content1 { color:#ffffff; } 이렇게요.. 그럼글자가 힌색으로 지정 되죠...
그리고 올리신 최근 스킨의 파일을 수정 합니다.
-------- 최근 게시물 스킨 내용 --------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table cellpadding="0" cellspacing="0" width="100%">
<tr height="26" >
<td> <img src="<?=$latest_skin?>/DocIcon.gif" align="absMiddle" width="16" height="17">
<b><a style="color:white" href="./?doc=bbs/gnuboard.php&bo_table=<?=$bo_table?>"><?=$bo_subject?></a></b>
</td>
<td align="right">
<!--내용-->
</td>
</Tr>
<tr height="3"><td colspan="2"></td></tr>
</table>
<? for ($i=0; $i<count($list); $i++) { ?>
<table cellpadding="4" cellspacing="0" style="table-layout:fixed;">
<tr>
<td width="110" ><span class=content1> [
<?=$list[$i][date]?>
]</span> </td>
<td width="20"> <img src="<?=$latest_skin?>/i_doc.gif" align="absmiddle" WIDTH="16" HEIGHT="18">
</td>
<td width="100%""> <nobr> <a href='<?="./?doc=bbs/gnuboard.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>'><span class=content1>
<?=$list[$i][subject]?>
<span style='font-size:8pt;'>
<?=$list[$i][commentcnt]?>
</span></span></a>
<?=$list[$i][icon_new]?>
<? if($list[$i][wr_link1]){ ?>
<img src="<?=$latest_skin?>/alim_yellow.gif" align="absmiddle" WIDTH="17" HEIGHT="11">
<a href='<?=$list[$i][wr_link1]?>'>[문서보기]</a>
<?}?>
</nobr> </td>
</tr>
</table>
<? } ?>
<table height="7">
<tr>
<td></td>
</tr>
</table>
-------------------------------------
<span class=content> 을 <span class=content1>로 수정 하고 테이블의 색을 삭제 했습니다.. (__)
그럼.. ㅎㅎ 이렇게 쉬운것좀 물어봐요 ㅜ.ㅜ 맨날 어려운것 물어 보니 답을 잘 못하죠 ㅜ.