Tabs

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)
  • The forum ‘WP Travel’ is closed to new topics and replies.