최신글에 보이는 li안보이게할 순 없나요

최신글에 보이는 li안보이게할 순 없나요

QA

최신글에 보이는 li안보이게할 순 없나요

본문

최신글

 

최신글앞에 점 두개찍히는걸 한개만 찍히게하고싶은데

 

소스는 이거입니다

li를 지우면 css에서 설정한게 모두 다시 설정해야되서..

 

<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가

// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">', 0);
?>

<div class="lat">
    <h2 class="lat_title"><a href="<?php echo G5_BBS_URL ?>/new.php?gr_id=<?php echo $gr_id ?>"><?php echo $gr_subject; ?></a></h2>
    <ul>
    <?php for ($i=0; $i<count($list); $i++) { ?>
        <li>
            <?php
            if ($list[$i]['icon_hot']) echo "<span class=\"hot_icon\">H<span class=\"sound_only\">인기글</span></span>";
 
            echo "<a href=\"".$list[$i]['href']."\"> ";
            
            echo $list[$i]['subject'];
            echo "</a>";

            if ($list[$i]['comment_cnt']) echo " <span class=\"lt_cmt\">+ ".$list[$i]['comment_cnt']."</span>";
            ?>
            
        </li>
    <?php } ?>
    <?php if (count($list) == 0) { //게시물이 없을 때 ?>
    <li class="empty_li">게시물이 없습니다.</li>
    <?php } ?>
    </ul>
    <a href="<?php echo G5_BBS_URL ?>/new.php?gr_id=<?php echo $gr_id ?>" class="lt_more"><span class="sound_only"><?php echo $gr_subject; ?></span><i class="fa fa-plus" aria-hidden="true"></i><span class="sound_only"> 더보기</span></a>
</div>
 

이 질문에 댓글 쓰기 :

답변 3

해당 최신글 스킨 폴더에서 style.css에 가셔서

 

.lat li {position:relative;font-size:12px;line-height:18px;padding:0px 0;padding-right:50px;padding-left:10px;position:relative;}

부분을

.lat li {position:relative;font-size:12px;line-height:18px;padding:0px 0;padding-right:50px;padding-left:10px;position:relative;list-style: none;}
위와 같이 수정해주시면 됩니다

 

/gnuboard/skin/latest/basic_group/style.css

 

9번째줄

.lat li {position:relative;font-size:12px;line-height:18px;padding:0px 0;padding-right:50px;padding-left:10px;position:relative;list-style: none;}

 

 

추가 list-style:none;

답변을 작성하시기 전에 로그인 해주세요.
전체 3

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT