Linking to a Navigation Tab

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10035612
    quigley0908
    Participant

    I am trying to link to a Navigation Tab by putting in the ID of the navigation tab, but it’s not starting out the way it’s supposed to it just starts on the first tab.

    For instance:

    <!––
    <li class="nav-item">
    <a href="#tabsNavigation3">###<i class="fa fa-institution"></i>Entity Level Services</a>
    </li>
    -->

    And I have a link to it as : services_new.html#tabsNavigation3

    It goes to the page, but doesn’t open the 3rd tab it just open the first tab.

    Note: it doesn’t matter what tab I try to go to it does the same thing.


    #10035623
    Support
    Keymaster

    Hello, thanks for your purchase.

    Please try adding the custom CSS code below at (js/custom.js):

    if( window.location.hash ) {
    	$(window).on('load', function(){
    		if( $( window.location.hash ).get(0) ) {
    			$('a[href="'+ window.location.hash +'"]').trigger('click');
    		}
    	});
    }

    Please try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


    If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads


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

This topic is marked as "RESOLVED" and can not rceive new replies.