New Landing How can we help? Themeforest Theme Support Dante All tabs quit working again

Tagged: ,

Viewing 13 posts - 1 through 13 (of 13 total)
  • Posted in: Dante
  • #221369
    Ian
    Member
    Post count: 121

    Content on second tab does not show when I click on the tab

    Pagebuilder is not showing the tabs correctly. (all content showing up in first tab)

    I have a set of three tabs on each of my product pages. They have all recently quit working.

    Please let me know if you need any more info.

    -Ian

    #221396
    purplesu
    Member
    Post count: 2

    Same problem here, I just found out where the problem is.

    1. Open dante/swift-framework/page-builder/builder/shortcodes/tabs.php

    2. find line 25 :

    $output .= "\n\t\t\t" . '<div id="'. preg_replace('/\s+/', '-', $id).'" class="tab-pane load">';

    replace with:

    $output .= "\n\t\t\t" . '<div id="'. preg_replace('/\s+/', '-', strtolower($id)).'" class="tab-pane load">';

    I dunno this solution is correct or what, but it works fine on my site. Hope it was useful to you and sorry for my bad english.

    Attachments:
    You must be logged in to view attached files.
    #221436
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,

    @purplesu
    – Thanks for sharing the solution to resolve it.
    Mohammad 🙂

    #221729
    Ian
    Member
    Post count: 121

    This has not fixed whatever the problem is on my site.

    I was planning on launching this site this week and now all of my product pages are not working.

    -Ian

    #221873
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi @Ian

    Will check it.

    -Rui

    #221880
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    The content itself is messed up, the problem seems to be with the row/columns layout assets that don’t work well inside the tabs.

    It will have to be create another tabs asset and move the existing assets to their new tabs removing them from the existing rows.

    Unfortunately there is no other way to fix this.

    Do you face the same situation in other pages?

    -Rui

    #221888
    Ian
    Member
    Post count: 121

    Rui,

    I face the same situation on about a dozen pages. These have been working for months. This site has been slow going up because of client issues, but these pages had been finished and tested and approved.

    Without the column assets they will now behave & look different then what was working and approved by the client.

    -Ian

    #221906
    Ian
    Member
    Post count: 121

    Rui,

    My bad I did add the column assets to fix a spacing issue, looks like I will need to step these pages back.

    -Ian

    #221915
    Ian
    Member
    Post count: 121

    Rui,

    I did figure out where my spacing issue is coming from it is the fact that the single image margin shown below is overridden by the 0 margin of the animation CSS. I can fix this with a CSS update but I think that the 30px margin on the bottom should be part of the default CSS on the phone where you are not getting the animations.

    .spb_single_image {
        margin-bottom: 30px;
    }
    .sf-animation[data-animation="fade-from-left"], .sf-animation[data-animation="fade-from-right"] {
        margin: 0 auto;
    }

    -Ian

    #222014
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Glad that it’s sorted. I only checked that page, and the structure of the content was messed definitely from those rows/columns inside the tabs.

    Will forward your suggestion to Ed.

    Thanks

    -Rui

    #222103
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Ian,

    That CSS isn’t in the default stylesheet.. must have been something added to yours specifically by you/your team.

    – Ed

    #222235
    Ian
    Member
    Post count: 121

    I find the following in line 2161 under “Load In Animations” I always use a child theme and do not ever change files in the main theme.

    /* --------------------------------------------
    	LOAD IN ANIMATIONS
    -------------------------------------------- */
    
    .sf-animation[data-animation="fade-from-left"], .sf-animation[data-animation="fade-from-right"] {
    	margin: 0 auto;
    }

    I added the follow to fix the spacing issue on mobile:

    @media only screen and (max-width: 767px){
    	.sf-animation[data-animation="fade-from-left"], .sf-animation[data-animation="fade-from-right"] {
    	    margin: 0 auto 30px;
    	}
    }

    -Ian

    #222264
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    My mistake – couldn’t find that first time around, thanks for the heads up. I’ve adjusted the css for the next update.

    – Ed

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

You must be logged in to reply to this topic.