I am wondering if its possible to add CSS-classes to WordPress menu in backend.
If building complex menus, the overview gets lost - would like to style it a bit.
Normally it would be fine to add the classes entered in field CSS-class.
Any suggestions? Thanks.
I am wondering if its possible to add CSS-classes to WordPress menu in backend.
If building complex menus, the overview gets lost - would like to style it a bit.
Normally it would be fine to add the classes entered in field CSS-class.
Any suggestions? Thanks.
Share Improve this question asked Aug 13, 2015 at 14:23 BrainBUGBrainBUG 358 bronze badges 4 |1 Answer
Reset to default 1I made it different for that project.
Using ACF Pro (anyway) + a mod of "Code Area". Return that Code Area CSS via
add_action('admin_head', 'function_name');
in my admin-area. So I am able to put the IDs in my CSS field => Voilà.
A different way, but works exact as I wanted/ needed.
function
I created which you could use as sample and add/edit to your own wishes to make all happen. Be sure using the correcthook(s)
– Charles Commented Aug 13, 2015 at 14:44