2026, 새로운 도약을 시작합니다.

그누보드 상위메뉴를 좀더 이쁘게 디자인

· 9개월 전 · 936
menu.jpg

그누보드 기본 메뉴가 디자인이 빈약해서 

그누보드 상위메뉴를 fontawesome을 사용해서 좀더 이쁘게 눈에 띄게 디자인해 봤습니다.

테마/css/default.css에 삽입하시거나

테마/head.php에 삽입하시면 됩니다.

[code]

<style>

/* Enhanced menu text styles */

            .gnb_1da, .gnb_al_a {

                font-size: 18px !important;

                font-weight: 900 !important;

                color: #333 !important;

                text-transform: none !important;

                letter-spacing: -0.5px !important;

                transition: all 0.3s ease !important;

                padding: 8px 35px 8px 12px !important; /* Increased right padding */

                border-radius: 4px !important;

                position: relative !important;

            }

            /* New stylish arrow design */

            .gnb_al_li_plus .gnb_al_a:after,

            .gnb_1dli.gnb_al_li_plus .gnb_1da:after {

                content: '\f107' !important; /* FontAwesome arrow icon */

                font-family: 'FontAwesome' !important;

                position: absolute !important;

                right: 12px !important;

                top: 50% !important;

                transform: translateY(-50%) !important;

                font-size: 20px !important;

                transition: all 0.3s ease !important;

            }

            /* Arrow animation on hover */

            .gnb_1dli:hover .gnb_1da:after,

            .gnb_al_li_plus:hover .gnb_al_a:after {

                transform: translateY(-50%) rotate(-180deg) !important;

                color: #fff !important;

            }

            .gnb_2da {

                font-size: 16px !important;

                font-weight: 600 !important;

                color: #555 !important;                

                transition: all 0.3s ease !important;

                padding: 6px 10px !important;

                /*border-radius: 3px !important;*/

            }

            .gnb_1da:hover, .gnb_al_a:hover {

                color: #fff !important;

                background-color: #146eb4 !important;

                box-shadow: 0 2px 5px rgba(20, 110, 180, 0.2) !important;

            }

            .gnb_2da:hover {

                color: #146eb4 !important;

                background-color: #f0f7fd !important;

                padding-left: 15px !important;

            }

            </style>

[/code]

첨부파일

menu.jpg (97.5 KB)
7회 2025-03-21 04:41
|

댓글 작성

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

로그인하기

그누보드5 팁자료실

번호 제목 글쓴이 날짜 조회
공지 3년 전 조회 4,598
2741 3일 전 조회 111
2740 4일 전 조회 103
2739 1주 전 조회 209
2738 1주 전 조회 217
2737 1주 전 조회 181
2736 1주 전 조회 280
2735 3주 전 조회 281
2734 3주 전 조회 263
2733 1개월 전 조회 265
2732 1개월 전 조회 301
2731 1개월 전 조회 267
2730 1개월 전 조회 226
2729 1개월 전 조회 356
2728 1개월 전 조회 245
2727 1개월 전 조회 422
2726 1개월 전 조회 256
2725 1개월 전 조회 330
2724 1개월 전 조회 358
2723 1개월 전 조회 267
2722 1개월 전 조회 300
2721 1개월 전 조회 211
2720 2개월 전 조회 304
2719 2개월 전 조회 307
2718 2개월 전 조회 202
2717 2개월 전 조회 336
2716 2개월 전 조회 202
2715 2개월 전 조회 311
2714 2개월 전 조회 273
2713 2개월 전 조회 376
2712 2개월 전 조회 289
🐛 버그신고