Viewing 9 posts - 61 through 69 (of 69 total)
  • Author
    Posts
  • #1067773

    Hi,
    I adjusted the underline on hover, and the home link, Please clear your browser cache and check.

    Best regards,
    Mike

    #1067810

    Thanks 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.

    #1067910

    Hi,
    OK, I corrected, Please clear your browser cache and check.

    Best regards,
    Mike

    #1067912

    THANKS!!
    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 Nora

    #1068063

    Hi,
    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,
    Mike

    #1068579

    Sorry, I was without internet the whole day – THANKS SO MUCH for all your effort. I really appreciate it.
    Looking great!

    #1068667

    Hi,
    Glad to help, I assume we can close this now, but I like to ask. Shall we close this then?

    Best regards,
    Mike

    #1068868

    After 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 Nora

    #1068905

    Hi,

    I’m glad this was resolved, if you need additional help please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 9 posts - 61 through 69 (of 69 total)
  • The topic ‘Tab Section – increase space for tab title’ is closed to new replies.