WordPress.org

Ready to get started?Download WordPress

Forums

Scebo - Customer Support
Scebo changed my CSS style (5 posts)

  1. jmastrap
    Member
    Posted 1 year ago #

    Hello,

    First congratulations on the plugin, after trying multiple ones, I think this is the one I will be able to use.

    I only have one problem. After installing Scebo, I discovered that the plugin changes my theme Edit Page CSS format. In other words, after installing it if I try to edit any page or article within my site the editing page (not the public one but the editing page) is reformatted. This causes the editing column (main, center) and the right column (publish, page attributes, feature image) to be the same size (basically a 50%-50% format for both columns). I will need this to be either the default or at least 70-30 in order to actually use the real estate in the page for the editing portion.

    As you can imagine this is a minor internal cosmetic issue, but it creates problems since it makes it harder to do any editing (even at 1900px).

    I have confirmed that is Scebo since I have deactivated/reactivated the plugin several times and the effect only happens with the plugin activated.

    There is no way to actually see the problem publicly since it will require a full admin access to the site (but I hope the description is clear enough). Looking forward to have this challenge solved (probably a one line code in the Scebo css template file) but I'm not that familiar with CSS and don't want to mess up the whole site.

    Thank you

    J.

    http://wordpress.org/extend/plugins/scebo/

  2. iDesignCo
    Member
    Posted 1 year ago #

    Hey,

    I ran into this issue myself, and it is caused by not checking for the ticket post type when queuing up the Admin CSS. They catch the post type for the edit.php page, but don't check when it is post.php.

    Making line 97 in the scebo/index.php file (the main one when editing the plugin via the WP Admin) look like
    if ($pagenow == 'post.php' && $post_type == 'tickets')
    will sold your problem.

  3. jimh275
    Member
    Posted 1 year ago #

    It also toast form elements css on frontend.

    Is there a fix for that?

  4. Cruxado
    Member
    Posted 10 months ago #

    // Adding custom theme css
    function scb_theme_admin_style() {
        wp_enqueue_style('scb_theme_css', plugin_dir_url(__FILE__) . 'inc/style/style.css');
        wp_print_styles('scb_theme_css');
    }

    Apparently the file inc/style/style.css is missing. Remove that piece of the code to look like the following:

    // Adding custom theme css
    function scb_theme_admin_style() {
        wp_enqueue_style('scb_theme_css');
        wp_print_styles('scb_theme_css');
    }

    Your CSS issues should resolve.

    It's a dirty fix, but a fix none the less.

    Hope this helps

  5. jimh275
    Member
    Posted 10 months ago #

    Thanks Cruxado, I'll give it a try.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic