-
AuthorPosts
-
February 16, 2019 at 8:01 pm #1067773
Hi,
I adjusted the underline on hover, and the home link, Please clear your browser cache and check.Best regards,
MikeFebruary 16, 2019 at 9:44 pm #1067810Thanks so much.
And it seems I have the MOBILE issue with showing the menu only on scroll up resolved too.
Only that now I have the issue that the anchors AND HOME are blue at the same time.February 17, 2019 at 5:13 pm #1067910February 17, 2019 at 5:24 pm #1067912THANKS!!
But now HOME is NEVER highlighted. Not even when I click HOME and when I’m on the very top of the HOME page.
Is there anything that still can be done?
THANKS NoraFebruary 18, 2019 at 12:09 am #1068063Hi,
When I check it’s working for me, but as I tried to explain earlier, the “Home” item for the page always has the class for the highlighting because it is the parent of the page, technically you are always on that page. So I did a lot of css to adjust the menu item color so that it would not be highlighted when the others are highlighted.So now I wrote this script that will remove the class or add it to the “Home” menu item, based on how far the page has scrolled, it is set to 100px, and then I adjusted your css.
function custom_current_menu_item(){ ?> <script> (function ($) { $(window).scroll(function() { var scroll = $(window).scrollTop(); if (scroll >= 100) { $(".menu-item-5246").removeClass('current_page_item'); $("#menu-item-5721").removeClass('current_page_item'); } else { $(".menu-item-5246").addClass('current_page_item'); $("#menu-item-5721").addClass('current_page_item'); } }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_current_menu_item');
Please clear your browser cache and check.
Best regards,
MikeFebruary 18, 2019 at 8:16 pm #1068579Sorry, I was without internet the whole day – THANKS SO MUCH for all your effort. I really appreciate it.
Looking great!February 19, 2019 at 12:34 am #1068667Hi,
Glad to help, I assume we can close this now, but I like to ask. Shall we close this then?Best regards,
MikeFebruary 19, 2019 at 11:03 am #1068868After 3 pages – YES. And thanks so much.
You guys are by far the best customer support of all themes I’ve been working with!
THANKS NoraFebruary 19, 2019 at 12:43 pm #1068905Hi,
I’m glad this was resolved, if you need additional help please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Tab Section – increase space for tab title’ is closed to new replies.