<a href="#">
<i class="fa fa-caret-right" aria-hidden="true"></i> A 게시판 > 게시글 제목명
</a>
이런식으로 나와서 자바스크립트나 php로 컨트롤 하는거라고 생각합니다..ㅠ
(해당 코드 개발자 툴로 긁어왔습니다)
img나 css로 처리되는건 아닙니다..!
inc > location 에는 저 부분을 컨트롤 할 수 있는 부분이 없는것같아서..
아래 location.php 첨부드립니다.
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if ($ca_id)
{
$str = $bar = "";
$len = strlen($ca_id) / 2;
for ($i=1; $i<=$len; $i++)
{
$code = substr($ca_id,0,$i*2);
$sql = " select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$code' ";
$row = sql_fetch($sql);
$sct_here = '';
if ($ca_id == $code) // 현재 분류와 일치하면
$sct_here = 'sct_here';
if ($i != $len) // 현재 위치의 마지막 단계가 아니라면
$sct_bg = 'sct_bg';
else $sct_bg = '';
$str .= $bar.'<a href="./list.php?ca_id='.$code.'" class="'.$sct_here.' '.$sct_bg.'"> <i class="fa fa-caret-right" aria-hidden="true"></i> '.$row['ca_name'].'</a>';
}
}
else
$str = '<a href="#"> <i class="fa fa-caret-right" aria-hidden="true"></i> '.$g5['title'].'</a>';
//if ($it_id) $str .= " > $it[it_name]";
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
// theme/mobile/shop/basic/style에서 수정
?>
<div id="sct_location">
<a href='<?php echo G5_SHOP_URL; ?>/' class="sct_bg"><img src="(홈 아이콘)" alt=""></a> <?php echo $str; ?>
</div>