Missing Navigation Bar

Homepage Forums WP Travel Missing Navigation Bar

This topic contains 9 replies, has 2 voices, and was last updated by  Support Team 1 year, 9 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #154

    genb84
    Participant

    Hello,

    Please help! I am missing my navigation menu from all of my itinerary pages. How can I fix this? My navigation menu is a side menu but it doesn’t pop out on any of the itinerary pages. Please help!

    youjustpack.net/itinerary
    youjustpack.net/itinerary/?price=&type=&location=38&view_mode=list
    youjustpack.net/itinerary/beach-palace

    #155

    Support Team
    Keymaster

    Hello @genb84,

    To resolve the issue paste below given JS code .

    jQuery(function() {
      var header = jQuery(".single-itineraries #main-header,.post-type-archive-itineraries #main-header");
      jQuery(window).scroll(function() {
          var scroll = jQuery(window).scrollTop();
         if (scroll >= 300) {
              header.addClass('et-fixed-header');
          } else {
              header.removeClass('et-fixed-header');
          }
      });
    });

    To use the JS code in theme you can use the plugin as given below:
    https://wordpress.org/plugins/custom-css-js/

    Hope this helps.

    If you have any issue further, please let us know.

    Best Regards!!

    Have a good day 🙂 .

    #411

    genb84
    Participant
    #412

    Support Team
    Keymaster

    Hello @genb84

    To display the navigation menu in category archive page replace above given JS by the JS given below;

    jQuery(function() {
      var header = jQuery("
      .single-itineraries #main-header,
      .post-type-archive-itineraries #main-header,
      .tax-travel_locations #main-header,
      .tax-itinerary_types #main-header
      ");
      jQuery(window).scroll(function() {
          var scroll = jQuery(window).scrollTop();
         if (scroll >= 300) {
              header.addClass('et-fixed-header');
          } else {
              header.removeClass('et-fixed-header');
          }
      });
    });

    Hope this helps.

    Kindly let us know if your issue is solved or not.

    Best Regards!!

    #413

    genb84
    Participant

    No, it did not work.

    #414

    genb84
    Participant

    This worked.

    jQuery(function() {
    var header = jQuery(“.single-itineraries #main-header,.post-type-archive-itineraries #main-header,.tax-travel_locations #main-header”);
    jQuery(window).scroll(function() {
    var scroll = jQuery(window).scrollTop();
    if (scroll >= 100) {
    header.addClass(‘et-fixed-header’);
    } else {
    header.removeClass(‘et-fixed-header’);
    }
    });
    });

    #415

    genb84
    Participant

    Thank you!

    #416

    Support Team
    Keymaster

    Hello @genb84,

    Glad we could help you.

    If you have any issues further, please feel free to post.

    We would also really appreciate if you could help us by rating our plugin by following the link given below:

    https://wordpress.org/plugins/wp-travel/

    Thank you.

    Best Regards!!

    Have a good day 🙂 .

    #3465

    genb84
    Participant

    I wrote a review and gave this plugin a five-star rating. Thank you for your help!

    #3471

    Support Team
    Keymaster

    Hello @genb84,

    Thank you very much for the rating.

    Also, we would like to assure that we will continue the same support and help in coming future as well.

    Furthermore please feel free to post any issue.

    Best Regards!!

    Have a good day 🙂 .

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.