WordPress.org

Ready to get started?Download WordPress

Forums

Amen
[resolved] Unneeded CSS (6 posts)

  1. kingcodefish
    Member
    Posted 1 year ago #

    The Amen plugin makes disabled plugins have a red bar on the bottom.
    I figured out that removing the following CSS fixes the problem:

    div.inactive { background: rgb(192, 115, 111) !important; }
    div.inactivealt { background: #C0736F !important; }

    This is located in the amen.css file in the plugin editor.
    I don't know why the !important doesn't work but removing the code fixes the problem anyways. I didn't see a need for this so I just took it out.
    Hope this helps for anyone having a red bar underneath their
    disabled plugins.

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

  2. UaMV
    Member
    Plugin Author

    Posted 1 year ago #

    Interesting, i hadn't noticed that. Some of the code from this plugin (including some css) was transferred from another plugin. i'll check this out and correct it. Thanks for pointing it out!

  3. kingcodefish
    Member
    Posted 1 year ago #

    Your Welcome. It was kind of annoying me.

  4. kingcodefish
    Member
    Posted 1 year ago #

    I just noticed something since it says !important (which means not important) it says any other CSS applying to this later will not work.
    So it just simply ignores anything else and uses the RGB and HEX colors for supporting browsers. So just like I said take it out and you should be fine.

  5. UaMV
    Member
    Plugin Author

    Posted 1 year ago #

    Fixed this in 2.0.5

  6. kingcodefish
    Member
    Posted 1 year ago #

    See you changed:

    div.inactive { background: rgb(192, 115, 111) !important; }
    div.inactivealt { background: #C0736F !important; }

    With:

    div.amen-inactive { background: rgb(192, 115, 111) !important; }
    div.amen-inactivealt { background: #C0736F !important; }

    And changed some other features in the code.
    But it worked, Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags