Widget Style"Menu" selected menu

Dedicated support forum for CloudHost elegant bosting WordPress theme which is perfect for your business and hosting websites. Here you can ask questions and discuss with other theme users.
GK User
Tue Apr 21, 2015 4:57 pm
Hello~

I put the link in style menu script like this

<ul>
<li><a href="/?page_id=506">Maecenas faucibus</a></li>
<li><a href="/?page_id=507">Vivamus sagittis.</a></li>
<li><a href="#">Praesent commodo.</a></li>
</ul>

and then

click the Vivamus Sagitts MENU -> move the ?page_id=507
Vivamus Sagitts did not selected (usually selected menu Clolor Change, but did not change the color after move the page)
<a href="#"> is OK (change the color)

I think this is a small BUG
How can I fix this..

Thank you
User avatar
Fresh Boarder

GK User
Wed Apr 22, 2015 4:31 am
I used The Custom Menu Widgets at Sidebar
select page problem is same

http://test.benicenet.co.kr/?page_id=74
Plese Click the left menu, page move but the menu did not selected.
User avatar
Fresh Boarder

GK User
Wed Apr 22, 2015 8:53 am
Hi,

Add the following code into the theme’s css/override.css file (make sure to enable the “Use the override.css file” option in Template options > Advanced in the WordPress backend)

or use any custom css plugin:

Code: Select all
.box ul li.current-menu-item a {
   color: #3c99df
}
User avatar
Moderator

GK User
Wed Apr 22, 2015 11:30 am
thank you~
Please tell me more what about used CUSTOM MENU WIDGET
User avatar
Fresh Boarder

GK User
Wed Apr 22, 2015 12:00 pm
I add the code at override.css

CODE: SELECT ALL
.box ul li.current-menu-item a {
color: #3c99df
}
ENABLE THE CSS
and test it
but it's not work
here is the OVERRIDETEST menu under the left menu
http://test.benicenet.co.kr/?page_id=1252
click the OVERRIDETEST menu~~
User avatar
Fresh Boarder

GK User
Thu Apr 23, 2015 7:56 am
First of all, please remove the first line from your override.css file "CODE: SELECT ALL" - it's a forum link to select the code.

and this code won't work with your overridetest menu - because it's default text widget, so the current-menu-item classes are not generated. You have to use defautl wordpress widget - cutom menu, like IDC HOSTING, you can create new menu in Appearance -> Menus section.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.