Avada Forums Community Forum Tabs Closed on mobile

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • fortheart
    Post count: 1

    I would like to know if there is a way anyone has found to have the tabs closed on mobile? As it is the first tab is auto open.

    Post count: 2

    I was looking for the same thing.
    Unfortunately nobody from avada support has answered yet.

    my “solution” is to use a script.

    jQuery( document ).ready(function() {
        jQuery('.tab-pane').removeClass( 'active' );    

    you can use it with the “code block” element and make it only “visible” on small screen.

    Post count: 2


    The script is working! But I cant figure out how the visibility works. The script applies to my desktop page too. I cant set the visibility of the code block element to small screen. Can u send a picture to help me?

    Thanks in advance,
    Kind regards,

    Post count: 3

    To fire the script only on small windows add

    if(window.innerWidth <= 760){

    Note that the script fires only once so there will be no change if you change the screen size after it loads unless you refresh the page.

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