아미나 Basic테마 메뉴색상변경 > 그누보드5 스킨

그누보드5 스킨

좋은 댓글과 좋아요는 제작자에게 큰힘이 됩니다.

아미나 Basic테마 메뉴색상변경 정보

레이아웃 아미나 Basic테마 메뉴색상변경

첨부파일

메뉴색상 - Basic테마.zip (10.9K) 80회 다운로드 2020-08-26 15:08:36 포인트 차감100
테스트한 버전5.3.3.3
호환 가능 버전아미나빌더 1.8.40 / 그누보드 5.3.3.3(패치 G5.4.2.8)

본문

아미나 Basic테마 수정내용

1. /thema/Basic/head.php / shop.head.php : 1 ~ 5Line add_stylesheet() 코드 추가
기존 : 


<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(THEMA_PATH.'/assets/thema.php');
?>

 

변경후 : 


<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(THEMA_PATH.'/assets/thema.php');
add_stylesheet('<link rel="stylesheet" href="'.THEMA_URL.'/colorset/menu_color.css" type="text/css" class="thema-menucolor">',0);
?>

 

/thema/Basic/head.php / shop.head.php : 121Line html 코드변경
기존 : 
<nav class="at-menu">

변경후:
<nav id="header_menu" class="at-menu <?php echo $at_set['h_color'];?>">

 

2. /thema/Basic/assets/switcher.php : 메뉴바설정에서 메뉴바색상 추가

<div class="input-group input-group-sm input-bottom">
<span class="input-group-addon">메뉴바 색상</span>
<select name="at_set[h_color]" class="form-control">
<option value="">색상</option>
<option value="dark"<?php echo get_selected('dark', $at_set['h_color']);?>>dark</option>
<option value="red"<?php echo get_selected('red', $at_set['h_color']);?>>red</option>
<option value="darkred"<?php echo get_selected('darkred', $at_set['h_color']);?>>darkred</option>
<option value="crimson"<?php echo get_selected('crimson', $at_set['h_color']);?>>crimson</option>
<option value="orangered"<?php echo get_selected('orangered', $at_set['h_color']);?>>orangered</option>
<option value="orange"<?php echo get_selected('orange', $at_set['h_color']);?>>orange</option>
<option value="green"<?php echo get_selected('green', $at_set['h_color']);?>>green</option>
<option value="deepblue"<?php echo get_selected('deepblue', $at_set['h_color']);?>>deepblue</option>
<option value="skyblue"<?php echo get_selected('skyblue', $at_set['h_color']);?>>skyblue</option>
<option value="blue"<?php echo get_selected('blue', $at_set['h_color']);?>>blue</option>
<option value="navy"<?php echo get_selected('navy', $at_set['h_color']);?>>navy</option>
<option value="violet"<?php echo get_selected('violet', $at_set['h_color']);?>>violet</option>
<option value="yellow"<?php echo get_selected('yellow', $at_set['h_color']);?>>yellow</option>
<option value="darkgray"<?php echo get_selected('darkgray', $at_set['h_color']);?>>darkgray</option>
<option value="gray"<?php echo get_selected('gray', $at_set['h_color']);?>>gray</option>
<option value="lightgray"<?php echo get_selected('lightgray', $at_set['h_color']);?>>lightgray</option>
<option value="black"<?php echo get_selected('black', $at_set['h_color']);?>>black</option>
<option value="white"<?php echo get_selected('white', $at_set['h_color']);?>>white</option>
<option value="color"<?php echo get_selected('color', $at_set['h_color']);?>>color</option>
</select>
</div>

 

3. /thema/Basic/colorset 경로에 menu_color.css 파일추가
색상별 stylesheet

추천
9

댓글 전체

전체 2,423 |RSS
그누보드5 스킨 내용 검색

회원로그인

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