Support › MB Settings Page › Can we add wrapper div or class name to existing wrapper div for Settings markupResolved
The settings panel is beautiful and we used to it. Is it possible to add a wrapper div or a class name (to add theme name prefix) to existing wrapper div of the Settings panel markup?
This will be helpful in styling the settings panel without conflicting with other plugin or theme admin styles.
If not yet added that feature, please consider that feature and we would like to contribute a beautiful design styles for the settings page if you like.
That's doable. Is it okay if I add a new parameter and put it in the div.wrap div?
Thank you for taking my request.
Do you mean like <div class="wrap my-theme-settings"> this?
<div class="wrap my-theme-settings">
Ah, yes it can work but if you can add a inner div, it will be more convenient to style it more better. like <div class="wrap"><div id="my-theme-settings">
<div class="wrap"><div id="my-theme-settings">
But both methods are ok for me, whichever you think possible to add.
Any updates on addition of unique class name to the settings page?
Yes, that's done. Please update to version 1.3.5. The new settings is class for the settings page.
FYI: Meta Box 5.2.0 also adds class settings for custom CSS class. So you have more room to customize now.
Thank you so much for adding the feature. Really appreciated and love your great work.