테스트 사이트 - 개발 중인 베타 버전입니다

슬라이드 크기조절!! (롤이슈 설치!) 채택완료

쾌남지망생 8년 전 조회 4,319


 

안녕하세요 

눈팅만 하다 염치 불구하고.. 질문글 올려봅니다.

제가 메인 페이지 가운데에 커다란 슬라이드를 하나 걸고 싶어서

이틀만에 겨우 롤이슈 라는 슬라이드를 받아서 설치 하였습니다.

그런데 위 스크린샷 처럼 도대체 어디를 만져도 크기가 조절이 안되서..

어떤 부분을 수정해야 하는지 몰라 글올려 봅니다.

 

latest.skin.php 에서 수정을 해야 하는지

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

add_stylesheet('', 0);

add_javascript('',100); //우선순위를 100으로 두는 이유는 Jquery다음으로 나와야함.

include_once(G5_LIB_PATH.'/thumbnail.lib.php');

$thumb_width = 558;

$thumb_height = 300;

function roll_strcut_utf8($str, $len, $checkmb=false, $tail='...') {

    preg_match_all('/[\xEA-\xED][\x80-\xFF]{2}|./', $str, $match);

    $m    = $match[0];

    $slen = strlen($str);  // length of source string

    $tlen = strlen($tail); // length of tail string

    $mlen = count($m); // length of matched characters

    if ($slen <= $len) return $str;

    if (!$checkmb && $mlen <= $len) return $str;

    $ret   = array();

    $count = 0;

    for ($i=0; $i < $len; $i++) {

        $count += ($checkmb && strlen($m[$i]) > 1)?2:1;

        if ($count + $tlen > $len) break;

        $ret[] = $m[$i];

    }

    return join('', $ret).$tail;

}

 

?>

 

 

style.css 부분을 수정해야 하는지.

 

/* Mainpage Roll */

#roll_issue:after {display:block;visibility:hidden;clear:both;content:""}

#roll_issue {

position:relative;

background: #fafafa;

height: 450px;

/* border:1px solid #333;

border-top:1px solid #333;

border-bottom:1px solid #333; */

margin: 0px;

}

.roll_issue_left {

position:absolute;

width:556px;

left:0;

top:0;

height: 300px;

overflow-y: hidden;

}

.roll_issue_left .roll_tc {

position: relative;

width: 556px;

top: 0px;

height: 1800px;

}

/* .roll_issue_left .roll_tc .roll_issue_left_img {

width: 556px;

height: 300px;

overflow: hidden;

z-index: 10;

position:relative; */

}

.roll_issue_left .roll_tc .roll_issue_left_img img {

display:inline-block;

}

.roll_issue_left .roll_tc .roll_issue_left_img .roll_issue_left_img_bottom {

cursor: pointer;

position: absolute;

bottom: 0px;

left: 0px;

padding-top:7px;

padding-bottom:7px;

width: 100%;

color: white;

background: #000;

}

 

}

.roll_issue_left .roll_tc .roll_issue_left_img .roll_issue_left_img_bottom:hover .roll_issue_left_img_bottom_title {

font-size:10.5pt;

color:white;

font-weight:600;

}

.roll_issue_left .roll_tc .roll_issue_left_img .roll_issue_left_img_bottom .roll_issue_left_img_bottom_contents {

font-size: 10pt;

font-weight: 600;

color: white;

max-width: 100%;

}

.roll_issue_right {

right:0;

width:200px;

position:absolute;

height: 300px;

color:white;

}

.roll_issue_right .roll_issue_right_nav {

width: 100%;

height: 36px;

padding-top: 7px;

padding-bottom: 6px;

margin:-1px;

margin-left:-1px;

border:1px solid #555;

cursor: pointer;

text-align: right;

position:relative;

}

 

.roll_issue_right_nav_title {

padding-right:10px;

}

 

 

도움좀 꼭좀 부탁 드리겠습니다..!!

댓글을 작성하려면 로그인이 필요합니다.

답변 2개

채택된 답변
+20 포인트
8년 전

$thumb_width = 558; 이부분과 width:556px; 이부분을 모두 수정해보세요~

 

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

쾌남지망생
8년 전
두 부분다 동일하게 수정해도 꿈쩍도 안하네요 ㅠㅠ

댓글을 작성하려면 로그인이 필요합니다.

latest 호출구문에서 너비값 지정되어 있는것 아닌가요?

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인