• Resolved ferben

    (@ferben)


    I’ve install this plugin and works fine until I add custom CSS (built in Hueman template or via Simple Custom CSS plugin).
    If you add any CSS code with comments in this plugin leave it.
    For example “<style type=”text/css” id=”wp-custom-css”>/* — Visible modification — */ /* Menu text */ .menu-item { font-weight: bolder; }</style>”.

    I’ve try modify Fast Velocity Minify settings but without success, plugin correctly minify HTML comments, external CSS comments, but inline CSS leave as is.

    • This topic was modified 7 years ago by ferben.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Raul P.

    (@alignak)

    Sorry, but I cannot understand if you want the plugin to remove the css comments, or if you want it to preserve them.

    Can you please clarify?

    If you want to remove them, and if that is custom code, I would recommend you to delete them directly on the code.
    FVM doesn’t strip some types of comments, either for copyright or compatibility reasons.

    Thread Starter ferben

    (@ferben)

    Fast Velocity Minify leave comments in inline CSS from another plugin (for example Simple Custom CSS plugin).

    You can see it on page https://bit.ly/2DNBn1C

    Yes I can remove it directly in Simple Custom CSS plugin, because there is not much changes but is really good to know why I these changes made.

    Is possible make any enhancement (checkbox) in Fast Velocity Minify plugin to process <style type=”text/css” id=”wp-custom-css”>…</style> too?

    Plugin Author Raul P.

    (@alignak)

    Hi, yes it’s possible, but I believe I have disabled it a few versions back for compatibility reasons.

    I’ll look into adding it again in the future.
    For now unfortunately, you would need to delete it manually.

    Thanks

    Thread Starter ferben

    (@ferben)

    Thank you very much ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Leave CSS comments in inline CSS’ is closed to new replies.