Tabs

Homepage Forums WP Travel Tabs

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6584

    chitrag
    Participant

    Is that possible to make mouse hover click effect on tabs instead of click ?

    #6595

    Support Team
    Keymaster

    Hello @chitrag,

    To implement the hover effect on the tab you have to use the custom JS.

    You can add the custom JS though the plugin using below :

    https://wordpress.org/plugins/custom-css-js/

    After activating the plugin add below given JS :

    jQuery('.resp-tab-item').hover( function() {
    	
    	jQuery(this).click();
    
    } );

    Hope this helps.

    Thank you.

    Best Regards!!

    #6608

    chitrag
    Participant

    this is not working for me

    #6643

    Support Team
    Keymaster

    Hello @chitrag,

    Please replace above-provided code with the code given below:

    jQuery(document).ready( function() {
    jQuery('.wp-travel-ert').hover( function() {
    	
    	jQuery(this).click();
    
    } );
    } );

    Also, make sure to add the code properly as given in below given screenshot:

    http://prntscr.com/jjh16l

    Hope this helps.

    Best Regards!!

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

You must be logged in to reply to this topic.