Is it possible to customize the skin of OptionTree?
Dont know about “skin” but you can modify the css, if you are on theme mod >assets>css>ot-admin.css and work your way through. i dont thing there are “skins” or themes out there.
It is what that I wanted to do, but in that way I have to edit the plugin. I’d like to do the same thing editing the setting file of OptionTree or the file functions.php of the theme.
- Most Wanted Bounty Winner
- Sold between 250 000 and 1 000 000 dollars
- Has been a member for 5-6 years
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Won a Competition
- Bought between 100 and 499 items
- Exclusive Author
- Referred between 200 and 499 users
If you are working with a theme, then you can add your own admin stylesheet to it, so there’s no need to overwrite anything..
function rb_add_admin_stuff(){
wp_register_style('rb_custom_admin_styles', get_template_directory_uri(). '/css/admin-styles.css');
wp_enqueue_style('rb_custom_admin_styles');
}
add_action( 'admin_init', 'rb_add_admin_stuff' );RubenBristian said
If you are working with a theme, then you can add your own admin stylesheet to it, so there’s no need to overwrite anything..function rb_add_admin_stuff(){ wp_register_style('rb_custom_admin_styles', get_template_directory_uri(). '/css/admin-styles.css'); wp_enqueue_style('rb_custom_admin_styles'); } add_action( 'admin_init', 'rb_add_admin_stuff' );
I’ve figured out the same. The only thing I want to know is.. how can I change how the slider field set works, I want to override it without altering the core OT code.
RubenBristian said
If you are working with a theme, then you can add your own admin stylesheet to it, so there’s no need to overwrite anything..function rb_add_admin_stuff(){ wp_register_style('rb_custom_admin_styles', get_template_directory_uri(). '/css/admin-styles.css'); wp_enqueue_style('rb_custom_admin_styles'); } add_action( 'admin_init', 'rb_add_admin_stuff' );
that’s a nice tip. thanks!
Thanks
!
