코맨트 글자색을 수정하고 싶은데요..ㅠㅠ > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

코맨트 글자색을 수정하고 싶은데요..ㅠㅠ 정보

코맨트 글자색을 수정하고 싶은데요..ㅠㅠ

본문

시하님의 스킨을 사용했는데요..
코맨트 색상이 배경색하고 똑같이 나와버려서..ㅠㅠ 글자가 전혀 안보이네요.ㅠㅠ
링크1번은 시하님의 스킨 링크이고
링크2번은 적용한 홈페이지 입니다.

코멘트 색상을변경하고 싶은데 어디를 변경을 해야하는지 도무지 모르겠어요..ㅠㅠ
view_comment_skin.php파일중에 아래 부분인것 같은데..모르겠네요.ㅠㅠ

<div style='line-height:20px; padding:7px 7px 7px 90px; word-break:break-all; overflow:hidden; clear:both; '>
        <?
        if (strstr($list[$i][wr_option], "secret")) echo "<span style='color:#ff6600;'>*</span> ";
         $str = $list[$i][content];
        if (strstr($list[$i][wr_option], "secret"))
          $str = "<span class='small' style='color:#ff6600;'>$str</span>";

        $str = preg_replace("/\[\<a\s.*href\=\"(http|https|ftp|mms)\:\/\/([^[:space:]]+)\.(mp3|wma|wmv|asf|asx|mpg|mpeg)\".*\<\/a\>\]/i", "<script>doc_write(obj_movie('$1://$2.$3'));</script>", $str);
        $str = preg_replace("/\[\<a\s.*href\=\"(http|https|ftp)\:\/\/([^[:space:]]+)\.(swf)\".*\<\/a\>\]/i", "<script>doc_write(flash_movie('$1://$2.$3'));</script>", $str);
        $str = preg_replace("/\[\<a\s*href\=\"(http|https|ftp)\:\/\/([^[:space:]]+)\.(gif|png|jpg|jpeg|bmp)\"\s*[^\>]*\>[^\s]*\<\/a\>\]/i", "<img src='$1://$2.$3' id='target_resize_image[]' onclick='image_window(this);'>", $str);
        echo $str;
        ?>

      </div>
      <? if ($list[$i][trackback]) { echo "<p>".$list[$i][trackback]."</p>"; } ?>
      <span id='edit_<?=$comment_id?>' style='display:none;'></span><!-- 수정 -->
      <span id='reply_<?=$comment_id?>' style='display:none;'></span><!-- 답변 -->
      <input type=hidden id='secret_comment_<?=$comment_id?>' value="<?=strstr($list[$i][wr_option],"secret")?>">

    </div>

  • 복사

댓글 전체

현재 코멘트 텍스트 컬러가 #222222입니다. 코멘트 변수부분에 222222 사용하는것을 ffffff로 변경해주시면 바뀔겁니다. 일단 style.css에서 확인해보시고 테스트로 변경해보세요~정확하게 답변못해드려 죄송~~^^;
style.css를 확인을 안해봤네요..ㅠㅠ

style.css에서 맨 윗줄에
body, td, p, input, button, textarea, select, .c1 { font-family:Tahoma,굴림; font-size:9pt; color:#ffffff; }
이렇게 ffffff로 바꿨는데..
이것을 바꾼다고 다른 페이지들 색상이 바뀌지는 않겠죠??ㅠㅠ불안불안..ㅠㅠ

혹시 코멘트만 흰색으로 바꿔주고, 스타일시트를 줄려면 워찌해야할까요?
<div style='line-height:20px; padding:7px 7px 7px 90px; word-break:break-all; overflow:hidden; clear:both; '>

이 부분을

<div class="comment_div">

이렇게 바꿔놓고, css 파일에 다음과 같은 내용을 한 줄 넣어줍니다.

.comment_div {line-height:20px; padding:7px 7px 7px 90px; word-break:break-all; overflow:hidden; clear:both; color:#FFF; }
© SIRSOFT
현재 페이지 제일 처음으로