Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1184358

    Hello,
    I’ve created a tab section.
    The first item of the tab section is empty.
    The second one (KNOCK THE DOOR) can be opened clicking on it.
    My client ask me if it is possible also close it by a click.
    Hope you can help me!
    Thank you,
    federica

    #1184875

    Hey Federica,

    I added this to functions.php and it worked. Please test:

    jQuery('.av-section-tab-title:nth-child(2)').click(function(){
    		jQuery('.avia-builder-el-2 .av-layout-tab-inner').slideToggle("slow");
    	});

    Best regards,
    Jordan Shannon

    #1185158

    Hello,
    thank you, but it doesn’t work perfectly.
    When you click at first time, i can’t see the content. I can see the content at the second click on ‘knock the door’ :(

    #1185166

    Furthermore le code print me this notification
    https://ibb.co/3R51RKm
    Do you know why?
    Thank you
    f

    #1185483

    Hi,

    Apologies, so you want the text closed/hidden when the page loads?

    Best regards,
    Jordan Shannon

    #1185510

    Yes!
    Thank you

    #1185777

    Hi,

    I added the following as well:

    jQuery('.avia-builder-el-2 .av-layout-tab-inner').hide()

    Please test

    Best regards,
    Jordan Shannon

    #1185953

    Thank you but thanks but I continue to see if error on the function.php https://ibb.co/dBdYpMZ :(

    #1186530

    Hi,

    I’m not seeing the console error on my end. Can you send me a translation of it?

    Best regards,
    Jordan Shannon

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.