Tagged: x
-
AuthorPosts
-
January 2, 2017 at 4:10 pm #1313291
cheekycreativeParticipantOn Integrity with a full screen slider above the navbar on the front page, I’d like to make the menu item for the front page jump to the top of the navbar apposed to starting at the #top back into the intro slider and #x-section-1 which puts you too low.
The Navbar doesn’t look like it has a simple ID/Anchor to link to and it looks like you used scripting for the button that is used to scroll down from the slider to the navbar which I don’t think I can use within a menu item.
How do I go about skipping that intro slider if a user navigates back to the front page from the menus. Am I editing a template and adding a new section ID in or do you have a quick trick up your sleeve?
Cheers
January 2, 2017 at 10:26 pm #1313626
RupokMemberHi there,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
January 3, 2017 at 9:17 am #1314157
cheekycreativeParticipantThis reply has been marked as private.January 3, 2017 at 9:40 am #1314215
RupokMemberHi there,
Thanks for updating but i am a bit confused about your issue now. If you don’t want to use the slider and use Navabr on top then you can just use the section ID to pint the specific section. And the scroll down within the slider is using script to follow the section but you can replicate this with section ID as well. Let us know where you exactly facing issue to do this.
Cheers!
January 3, 2017 at 10:31 am #1314323
cheekycreativeParticipantI want to use the fullscreen slider above the navbar, but upon clicking the menu entry for “home”, I prefer the page loading at the navbar top opposed to back at #top into the the full screen video slider again.
There is no anchor or ID section for the top of the navbar that I can tell, section 1 is too low, and it looks like you used jQuery to jump to the top of the navbar with your own ‘x-slider-scroll-bottom’ button.
Cheers
January 3, 2017 at 11:33 am #1314424
JoaoModeratorHI There,
Please go to Appereance > Customizer > Custom > Javascript and add:
jQuery(document).ready(function () { jQuery('.x-navbar').attr('id', 'navbar'); });You can than link to #navbar
Hope it helps
Joao
January 3, 2017 at 1:01 pm #1314587
cheekycreativeParticipantI works great on the front/home page but if your on any other page the menu won’t follow the link and anchors to the current page’s navbar.
For the menu link I have used:
/#navbar
/index.php#navbar
http://path.example.com#navbar
http://path.example.com/index.php#navbarand no luck with any of those. Something weird is going on, if I punch in the same full url into a blank window it works like a charm as well.
Cheers
January 3, 2017 at 2:31 pm #1314728
JadeModeratorHi there,
Would you mind providing your admin details so we can check this further?
Thank you.
January 3, 2017 at 4:50 pm #1314923
cheekycreativeParticipantThis reply has been marked as private.January 4, 2017 at 1:10 am #1315367
ChristopherModeratorHi there,
Please add this code :
jQuery(document).ready(function () { jQuery('body:not(.home) .x-navbar').attr('id', 'http://bpa.cheekycreative.ca/navbar'); });Hope it helps.
January 4, 2017 at 7:19 am #1315689
cheekycreativeParticipantThanks, that did it. I did tweak it a bit so it wasn’t a static url:
var siteUrl = '<?= get_bloginfo(βsite_url"); ?>'; jQuery(document).ready(function () { jQuery('body:not(.home) .x-navbar').attr('id', ββ+siteUrl+β/navbar'); });Thanks for your help!!
CheersJanuary 4, 2017 at 8:54 am #1315832
JoaoModeratorGlad to hear it π
Have a great day.
Joao
January 4, 2017 at 8:56 am #1315836
RahulModeratorGlad to hear it now it’s working.
If you have anything further to ask, feel free to let us know. We’d be happy to assist you with anything.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1313291 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
