I use Wordpress and have a sidebar containing widgets, run by this code:
<div class="sidebar modern">
<?php if ( is_active_sidebar( 'sidebar-modern' )) : ?>
<ul>
<?php dynamic_sidebar( 'sidebar-modern' ); ?>
</ul>
<?php else : ?>
<?php endif; ?>
</div>
What I do in wp-admin
What I need is to add a container HTML class to the select.
I have tried these and failed:
If it's possible to add a container class to all the widget inside (widget title not included), it would be fine by me.
It's not possible right now without editing the Wordpress core.