Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to show all Theme Settings boxes open? #2453

Open
noesteijver opened this issue Mar 15, 2017 · 7 comments
Open

Is there a way to show all Theme Settings boxes open? #2453

noesteijver opened this issue Mar 15, 2017 · 7 comments
Assignees

Comments

@noesteijver
Copy link

By default, only the first box that is added in the Theme Settings is open.

When I have multiple boxes, the rest is closed by default.

Is there a way to have them all open by default?

I tried adding this, but then the closing option doesn't work:

'attr' => array('class' => 'initialized'),

@Ataurr
Copy link
Contributor

Ataurr commented Mar 16, 2017

Before all box was open. but now I saw only one open :/ I also want all box open.

@GheorgheP GheorgheP self-assigned this Mar 16, 2017
@GheorgheP
Copy link
Contributor

Yes, we implemented this as a feature, but I will review this.

@Ataurr
Copy link
Contributor

Ataurr commented Mar 16, 2017

Please add an option then. It looks confusing for theme option. But its perfect for metabox or shortcode.

@Ataurr
Copy link
Contributor

Ataurr commented Mar 26, 2017

@GheorgheP Please provide us option to make all tab open.

Now buyers are misguided, and they don't found the option in theme settings.

@danyj
Copy link
Contributor

danyj commented Apr 4, 2017

this works for me on type box

'attr' => array('class' => 'initialized'),

@noesteijver
Copy link
Author

@danyj I've tried that, but in my case the boxes can't be closed. Can you close them with this workaround?

@sollerpolt
Copy link

sollerpolt commented Nov 22, 2017

@noesteijver @danyj @Ataurr

Hi, guys!

I had same issue. If you still not found a solution, I fixed this by a small JS:

$( 'body' ).on('click', '.fw-options-tabs-list ul li a', function(e) {
    setTimeout( //as Unyson not render all option tabs on start, we need small timeout
        function() 
            {
                $('.fw-container-type-box').removeClass('closed'); 			
            }, 500);
});

It's not as good, as build-in option, but, at least something.

Please, update, if you found better solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants