This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Add menu elements missing from the Customizer live preview.

  • Loading branch information...
kwight committed May 4, 2014
1 parent f0116fc commit 428794e6ca24e252bcb3323d36000630f3fcc43c
Showing with 3 additions and 3 deletions.
  1. +3 −3 js/debut-customizer.js
View
@@ -14,8 +14,8 @@ jQuery( document ).ready( function( $ ) {
wp.customize( 'debut_link_color', function( value ) {
value.bind( function( to ) {
$('body').css('border-color', to );
$('a').not('.main-navigation .current-menu-item > a').css('color', to );
$('.main-navigation .current-menu-item > a').css({
$('a').not('.main-navigation .current-menu-item > a, .main-navigation .current_page_item > a').css('color', to );
$('.main-navigation .current-menu-item > a, .main-navigation .current_page_item > a').css({
'background-color': to,
'color': '#fff'
});
@@ -33,7 +33,7 @@ jQuery( document ).ready( function( $ ) {
'color': to,
'text-shadow': 'none'
});
$('.main-navigation .current-menu-item > a').css({
$('.main-navigation .current-menu-item > a, .main-navigation .current_page_item > a').css({
'background-color': to,
'color': '#fff'
});

0 comments on commit 428794e

Please sign in to comment.