• Resolved dlongm01

    (@dlongm01)


    FYI

    This plugin is very useful but sadly does not appear to work correctly with the Blue Admin plugin installed.

    The cursor in the text window is not positioned correctly which make it impossible edit. It’s always positioned several spaces to the right of the end of line. Deactivating Blue Admin stops the problem.

    Of course, it might be a combination effect, so that other plugins are also causing this, but deactivating Blue Admin definitely stops the problem.

    https://wordpress.org/plugins/my-custom-css/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Anonymous User 357386

    (@anonymized-357386)

    Hi…
    I don’t know blue admin.
    I’ll try to fix this issue as soon as possible!

    Regards,
    S.N. 🙂

    Thread Starter dlongm01

    (@dlongm01)

    Whoa – that’s the quickest response ever!

    Just to add that for now I’ve deactivated Blue Admin so I can use your plugin. Blue Admin provides, for me, a very nice colour scheme on the WP-admin panel, one that my eyesight can tolerate and much better than the default schemes available.

    Your plugin was recommended to me by my system support. They don’t want me fiddling with style.css directly (!). Your plugin is very handy for testing individual items of CSS on the fly – then if they work I am allowed to edit style.css (! – go figure).

    Let me know if you get a fix fairly soon as I’d like to support your plugin, but admittedly when I get a mo’ I will look for something similar.

    Anonymous User 357386

    (@anonymized-357386)

    I can try to disable, with my plugin, some function of blue admin only inside my custom CSS page. I think this can fix any issue.
    But for this I need some test…
    So, please, be patiently.

    Thanks in advance, and thanks to your support (I don’t know where is, but thank) 🙂

    Anonymous User 357386

    (@anonymized-357386)

    Ps: Edit theme file is a bad idea for many reason!
    1) lost all at every upgrade;
    2) break all if commit error

    If u want use theme, can be a good idea a child theme.
    Anyway, my plugin use database only for panel, and static file for browser css.
    So, u can use also for very long css without problem (is simply a new css file and u can insert css code from my custom CSS page).
    ATM, as I know, all other plugin similar to this, use only database and cause of this entire blog go slowly.

    Regards…

    Thread Starter dlongm01

    (@dlongm01)

    I am using a child theme.

    Anonymous User 357386

    (@anonymized-357386)

    Good! Is the best way to work if u need more edit 😉
    I’ve make this plugin because, imho, child theme is a bit more complicated for end user! 🙂

    Anonymous User 357386

    (@anonymized-357386)

    Ok, i think i’ve fixed!
    Bug is caused because css rule with font in blueadmin overwrite ace editor font-type.
    A simple fix can be this:
    my-custom-css.php at line 374:
    change this:

    <!-- Ace Support End -->
    <style type="text/css">
    p#footer-upgrade
    {
    	float: left;
    	padding-left: 5px;
    	font-style: italic;
    }
    div#wpfooter
    {
    	position: relative;
    }
    </style>

    to this:

    <!-- Ace Support End -->
    <style type="text/css">
    /* Set font type-size */
    .wrap > form *
    {
    	font: 14px "Monaco","Menlo","Ubuntu Mono","Consolas","source-code-pro",monospace;
    }
    /* Fix wordpress footer */
    p#footer-upgrade
    {
    	float: left;
    	padding-left: 5px;
    	font-style: italic;
    }
    div#wpfooter
    {
    	position: relative;
    }
    </style>

    and change also this (line 423):
    font-size: 30px; top: 45px;

    to this:
    font-size: 30px !important; top: 45px;

    Please, confirm if work fine also for you 🙂

    Thread Starter dlongm01

    (@dlongm01)

    Thanks Dark Wolf

    I appreciate your fast response but I am on a promise not to edit PHP files (and as I noted above I’m also on a promise to proceed cautiously with CSS changes). Since I made that promise I don’t want to edit the PHP even for your plugin. By all means release a new version. However, I will try it out on my test site which have here on localhost but I can’t test on live site.

    Regards

    Anonymous User 357386

    (@anonymized-357386)

    Ok… no problem but u can edit also from wordpress plugin editor panel. Isn’t a problem… Anyway, if u prefer i can archive a pre-release just For you.
    if u confirm is ok, i’ll release For public.
    i’ve test on mine and seems to be ok, but u have report this bug… so, is best if test and report Your Experience.

    Regards,
    S.N.

    Thread Starter dlongm01

    (@dlongm01)

    That last <style> tag:

    In the PHP file for the plugin (which I just installed in my localhost copy of WP)) that tag is punctuated like this;

    </style>’;

    But in your code above that syntax is removed and WP throws an error!(Perhaps you just didn’t copy and paste it completely?).

    If put it back the plugin seems to work fine.

    (See, I don’t know much about PHP!)
    ==============================
    Parse error: syntax error, unexpected ‘mccss_settings’ (T_STRING), expecting ‘,’ or ‘;’ in D:\wamp\www\wp-content\plugins\my-custom-css\my-custom-css.php on line 398
    C

    Anonymous User 357386

    (@anonymized-357386)

    I’ve report only style, (from this, to this)… So yes, “;” is required at the end of string 🙂
    Ok, can u confirm if editor work fine now with this fix?

    Thread Starter dlongm01

    (@dlongm01)

    Yes it seems to work fine.

    Anonymous User 357386

    (@anonymized-357386)

    Ok, thank’u very much! I release new version very soon.

    Regards,
    S.N.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Interference from another plugin’ is closed to new replies.