Problem:
Using an e-commerce plugin called MarketPress, and they use the same "Colorbox" css styles as Layouts. With both installed, MarketPress is overwriting/adding to the css of Layouts in the back end, and it is breaking the Layouts Cell Module modal.
Solution:
If you have MarketPress installed, and you have Layouts installed, you'll need to put this in your theme’s functions.php file:
/*===== Fix Colorbox Issue in Layouts =====*/ function load_custom_wp_admin_style($hook) { if($hook == 'toolset_page_dd_layouts_edit') { wp_dequeue_style( 'colorbox', plugins_url( 'includes/admin/ui/colorbox/colorbox.css', __FILE__ ) ); wp_dequeue_style( 'mp-admin', plugins_url( 'includes/admin/ui/css/admin.css', __FILE__ ) ); } } add_action( 'init', 'wp_defined_new_scripts'); function wp_defined_new_scripts() { add_action( 'admin_enqueue_scripts', 'load_custom_wp_admin_style' ); }
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | - |
- | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | - |
Supporter timezone: Asia/Karachi (GMT+05:00)