• Resolved Marty

    (@bozzmedia)


    The layout of inserting the icon into the Plugins pages is misaligned and not consistent with other best practices for WP plugins. Easiest thing would be to simply remove this image from this view.

    See screenshot for example of layout issue and how it is not consistent with other plugins. Thanks for the consideration!

Viewing 2 replies - 1 through 2 (of 2 total)
  • While I kinda like the icon, I thought it was a little too big. As I use Anti-Malware Security and Brute-Force Firewall as one of my core boilerplate plugins for every client, here’s what I did…

    1. Add a CSS file to wp-admin via your childtheme as outlined in this quick blog: https://davidwalsh.name/add-custom-css-wordpress-admin

    2. Add the following css to your new admin.css file:

    .plugins .plugin-title .dashicons:before {
        font-size: 20px;
    }
    

    Feel free to change font-size to whatever size makes you or your client smile.

    View post on imgur.com

    Plugin Author Eli

    (@scheeeli)

    Thanks for the feedback. There does not seem to be a good way for me to affect the :before marker in my code so I have not found a way to override the styles in the new admin.css file. I don’t generally recommend altering core files either, so I am going to take the icon out in my next release (unless someone can tell me how to write an !important style in my HTML that will specifically affect the ::before marker in the the default CSS).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Minor change: Remove plugin icon from Plugins pages’ is closed to new replies.