• Resolved torels

    (@torels)


    Hello!
    I’m trying to display two separate galleries on two separate WPBakery tabs in a page.
    I’m currently using Impreza as a theme, not much customized at all.

    The issue is that only the active tab’s gallery gets loaded, that is the tab which is active when the DOM is loading/ready: the first tab in my case.

    If I click the second tab quick enough, the first tab loads nothing or only loads the tags, whilst the second loads everything correctly.

    If I manage to display the tags on both tabs I can then click them to display both the galleries.

    I guess it’s something related to some onLoad function or some event not being fired. Any idea how to workaround/fix?

    I’m attempting a quick & dirty fix by forcing the gallery to load by simulating an “All” tag click, but i’m having a bit of issues to actually figure out how I could build my code & what I should call in it. Any suggestions or alternative solutions are much appreciated.

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • Plugin Author Serhii Pasyuk

    (@pasyuk)

    You can try to trigger window resize event after you click on tab. When the tab is hidden than it has 0 size and gallery can’t be rendered with proper size.

Viewing 1 replies (of 1 total)
  • The topic ‘WPBakery tabs with Amron not working’ is closed to new replies.