- This topic has 9 replies, 2 voices, and was last updated 5 years, 5 months ago by
Support Team.
- AuthorPosts
- December 19, 2017 at 3:55 pm #154
genb84
ParticipantHello,
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-palaceDecember 20, 2017 at 6:53 am #155Support Team
KeymasterHello @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 🙂 .
December 24, 2017 at 3:07 am #411genb84
ParticipantThank you. But these pages are also missing the navigation bar.
http://www.youjustpack.net/travel-locations/caribbean/
http://www.youjustpack.net/travel-locations/mexico/
http://www.youjustpack.net/travel-locations/europe/
http://www.youjustpack.net/travel-locations/las-vegas/
http://www.youjustpack.net/travel-locations/hawaii/
http://www.youjustpack.net/travel-locations/bahamas/Can you provide me with another JS code for these pages as well?
December 26, 2017 at 5:07 am #412Support Team
KeymasterHello @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!!
December 26, 2017 at 5:46 am #413genb84
ParticipantNo, it did not work.
December 26, 2017 at 5:50 am #414genb84
ParticipantThis 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’);
}
});
});December 26, 2017 at 5:50 am #415genb84
ParticipantThank you!
December 26, 2017 at 6:39 am #416Support Team
KeymasterHello @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 🙂 .
December 29, 2017 at 11:54 pm #3465genb84
ParticipantI wrote a review and gave this plugin a five-star rating. Thank you for your help!
January 2, 2018 at 3:45 am #3471Support Team
KeymasterHello @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 🙂 .
- AuthorPosts
- The forum ‘WP Travel’ is closed to new topics and replies.