Support

Account

Home Forums ACF PRO Admin select2.css affecting other plugins

Solved

Admin select2.css affecting other plugins

  • Is there a way to stop the AFC Pro admin css from being loaded on every screen within the WP admin panel – the styling is specifically affecting other plugins and pages that use Select2 for selectbox form replacement.

    The file im referring to is /advanced-custom-fields-pro/inc/select2/select2.css?ver=5.1.5, but in fact all AFC css is loaded

    This only happen with AFC Pro, not the free version.

    Any guidance would be appreciated.

    Cheers,

  • Hi @dcooney

    There was a bug on version 5.1.5 that was affecting the loading of select2 I believe this is related.

    The bug was fixed on the next update 5.1.6.

    You can also use the acf/input/admin_enqueue_scripts action to register / deregister / enqueue / dequeue styles

    You can check out more info on this action here: http://www.advancedcustomfields.com/resources/acfinputadmin_enqueue_scripts/

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Admin select2.css affecting other plugins’ is closed to new replies.