Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1403876

    Hello,
    I have a question.

    I Have a page “contact” with 5 tabs.
    Tab 2 should link to another page.
    I need the link in the the tab section in the tab-title.

    Is this possible? I found one solution (https://kriesi.at/support/topic/download-link-in-tab-section-tab-title/)
    that does not work for me.

    Thank you and best regards
    Barbara

    #1403956

    Hey walhai,
    Please include a link to your page and a admin login in the Private Content area so we can be of more assistance.

    Best regards,
    Mike

    #1403978

    Hi Mike,
    thank you for answering.
    Please find all informations in PC.

    Best regards
    Barbara

    #1403982

    Hi,
    Thank you for the link to your site, Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function custom_script() { ?>
      <script>
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
    	var changeLink = $('#kontakt a.av-section-tab-title[data-av-tab-section-title="2"]');
    	changeLink.on('click', function(e) {
    		e.preventDefault();
    		window.open(
    		  'https://google.com',
    		  '_self'
    		);
    	});
    })(jQuery);
    });
    </script>
      <?php
    }
    add_action('wp_footer', 'custom_script');

    this will change the tab link to google.com, adjust to suit.

    Best regards,
    Mike

    #1404016

    Hi Mike,
    thank you, that worked perfect.

    Best regards
    Barbara

    #1404021

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Link from one tab to a tab of another page’ is closed to new replies.