CrouchingBruin on "[Theme: Virtue] how to add active class"

ساخت وبلاگ

how to add active class for navigational menu,
according to requirement when ever i click on menu button the active page menu as to become red background box

The active menu item will already have two classes, current-menu-item and current_page_item. You should be able to use either of those two classes to style the background on the active menu item, like this:

.sf-menu .current-menu-item { background: red;
}

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 102 تاريخ : شنبه 4 ارديبهشت 1395 ساعت: 14:48