I’ve created a patch, to resolve this issue. I’d be glad, if you’d merge it with the master.
From 8425acc7bb269570915e73f90403d16e85e072dc Mon Sep 17 00:00:00 2001
From: Marvin Dickhaus <[email protected]>
Date: Sun, 25 Aug 2013 14:04:31 +0200
Subject: [PATCH] Next and Previous links are highlighted correctly.
---
inc/customizer.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/inc/customizer.php b/inc/customizer.php
index 865921a..c3dd5cb 100755
--- a/inc/customizer.php
+++ b/inc/customizer.php
@@ -308,11 +308,11 @@ function m1_customizer_css() {
<?php if ( $link_color ) : ?>#main a, #main a:visited, .site-footer a, .site-footer a:visited { color: <?php echo $link_color; ?>; }<?php endif; ?>
<?php if ( $top_menu_link_color ) : ?>.top-menu a, .top-menu ul ul a, .navigation-main a, .navigation-main ul ul a, .navigation-main li.sfHover a, .m1-social-icons a { color: <?php echo $top_menu_link_color; ?>; }<?php endif; ?>
<?php if ( $accent_color ) : ?>#main a:hover, a:focus, a:active, .site-title a, .top-menu li a:hover, .top-menu li.current_page_item > a, .top-menu li.current-menu-item > a, .navigation-main li a:hover, .navigation-main li.current_page_item > a, .navigation-main li.current-menu-item > a { color: <?php echo $accent_color; ?>; }
- button, .button, html input[type="button"], input[type="reset"], input[type="submit"], .more-link, .nav-previous a, .nav-next a, .page-links a { background-color: <?php echo $accent_color; ?>; }
+ button, .button, html input[type="button"], input[type="reset"], input[type="submit"], .more-link, .page-links a { background-color: <?php echo $accent_color; ?>; }
.site-header { border-top-color: <?php echo $accent_color; ?>; }
<?php endif; ?>
- <?php if ( $link_hover_color ) : ?>#main a:hover, .site-footer a:hover, .top-menu li a:hover, .navigation-main li a:hover, .m1-social-icons a:hover { color: <?php echo $link_hover_color; ?>; }
- button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .more-link:hover, .nav-previous a:hover, .nav-next a:hover, .page-links a:hover { background-color: <?php echo $link_hover_color; ?>; }
+ <?php if ( $link_hover_color ) : ?>#main a:hover, .site-footer a:hover, .top-menu li a:hover, .navigation-main li a:hover, .m1-social-icons a:hover, .nav-previous a:hover, .nav-next a:hover { color: <?php echo $link_hover_color; ?>; }
+ button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .more-link:hover, .page-links a:hover { background-color: <?php echo $link_hover_color; ?>; }
<?php endif; ?>
<?php if ( get_theme_mod( 'm1_layout' ) == "side-left" ) : ?>
#primary { float: right; }
@@ -321,4 +321,4 @@ function m1_customizer_css() {
</style>
<?php
}
-add_action( 'wp_head', 'm1_customizer_css', 210 );
\ No newline at end of file
+add_action( 'wp_head', 'm1_customizer_css', 210 );
--
1.8.1.2