• Resolved WebFactory

    (@webfactory)


    Hi, this CSS is added to my front-end. Tried being logged in/out no change. Don’t see any options to remove this. Maybe I’m missing something ?? Thanks!

    .menu-top.toplevel_page_wpassetcleanup_getting_started .wp-menu-image > img { width: 26px; position: absolute; left: 8px; top: -4px; }

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @webfactory thanks for trying Asset CleanUp! You’re right, that code should only load within the Dashboard, but it loads everywhere. It will be fixed in the next release. My apologies for this inconvenience!

    If you’re keen to have it removed sooner (one line of CSS code won’t make a difference overall, but I know it can be frustrating), then edit the following file:
    – /wp-asset-clean-up/classes/OwnAssets.php and move the following code from inlineCode() method to inlineAdminCode():

    <em>.menu-top.toplevel_page_wpassetcleanup_getting_started .wp-menu-image > img { width: 26px; position: absolute; left: 8px; top: -4px; }</em>

    To make things even easier, just replace your OwnAssets.php file with the one from here:
    https://github.com/gabelivan/wp-asset-clean-up/blob/master/classes/OwnAssets.php

    • This reply was modified 6 years, 2 months ago by Gabe Livan.
    • This reply was modified 6 years, 2 months ago by Gabe Livan.
    Thread Starter WebFactory

    (@webfactory)

    Sweet. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Inline CSS added to front end by CleanUp’ is closed to new replies.