Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

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

Open ghost opened this issue 9 years ago • 7 comments

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'),

ghost avatar Mar 15 '17 13:03 ghost

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

Ataurr avatar Mar 16 '17 10:03 Ataurr

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

GheorgheP avatar Mar 16 '17 10:03 GheorgheP

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

Ataurr avatar Mar 16 '17 11:03 Ataurr

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

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

Ataurr avatar Mar 26 '17 07:03 Ataurr

this works for me on type box

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

danyj avatar Apr 04 '17 10:04 danyj

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

ghost avatar Jun 09 '17 13:06 ghost

@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.

sollerpolt avatar Nov 22 '17 14:11 sollerpolt