• It’s a shame I can’t share screenshots.

    To recreate this bug – login to Divi Options with and without the LearnPress plugin enabled.

    Enabling LearnPress breaks the Divi Theme Options page colours and styles making it pretty unreadable. I can see LearnPress is calling a lot of files whilst in the administration logged in area of WordPress even when we’re not within the LearnPress settings are or LearnPress pages?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support brianvu-tp

    (@briantp)

    Hi,

    I think the Divi theme doesn’t compatible with LearnPress. We have removed the include meta box in our plugin.

    Thanks & Regards,
    ThimPress – Customer Service

    Thread Starter vmodha

    (@vmodha)

    Hi there, so I’m not using Divi with LearnPress. I’m using it for my other pages. Divi is working perfectly on the frontend, the only problem is that when LearnPress is enabled, it’s triggering some JS that is breaking the design of the Divi settings page?

    Please could you refine where your JS is enabled? I don’t think it should be enabled on the Divi Settings page. See the screenshots below. I know it’s a JS issue because initially the colours are correct then a second later they break (when JS is loaded fully).

    Admin area WORKING when LearnPress is DISABLED: https://ibb.co/LRCbfbc https://ibb.co/r73pYDX

    Admin area BROKEN when LearnPress is ENABLED: https://ibb.co/LRCbfbc

    Thread Starter vmodha

    (@vmodha)

    After doing some investigation, what’s breaking the design is coming from here:
    /wp-content/plugins/learnpress/assets/src/css/vendor/jquery-ui/jquery-ui.min.css?ver=4.1.2

    .ui-widget-header
    {
    border: 1px solid #aaa;
    background: #ccc url("images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;
        background-color: rgb(204, 204, 204);
    color: #222;
    font-weight: bold;
    }
    
    .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
        border: 1px solid #d3d3d3;
        background: #e6e6e6 url("images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x;
        font-weight: normal;
        color: #555;
    }
    • This reply was modified 3 years, 6 months ago by vmodha.
    Thread Starter vmodha

    (@vmodha)

    Any updates on this? Why is this plugin forcing every admin page and area to have the jquery-ui.min.css ?

    Something like this is needed by this plugin to enqueue stylesheets just to the learnpress area of the wp-admin

    //Enqueue Admin CSS on Job Board Settings page only
    if ( isset( $_GET['page'] ) && $_GET['page'] == 'job-board-settings' ) {
        // Enqueue Core Admin Styles
        wp_enqueue_style( simple_job_board, plugin_dir_url( __FILE__ ) . 'css/simple-job-board-admin.css');
        }
    
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Learnpress breaking Divi Admin Options Colours + Fonts’ is closed to new replies.