Support » Plugin: Autoptimize » remove empty variable of css

  • Resolved Insect Trojan

    (@insecttrojan)


    hello i need your help how can i remove of empty css that prints of php but they dont have an number of px they are like that

    font-size:; color:; line-height:; font-weight:; font-style:;

    with php code i am trying to remive that in the past autoptimize was removed that automatically but not after updates

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    AO 3.0.0 minified inline CSS, but it caused some issues so that was disabled for now. you can re-enable with this filter though;

    
    add_filter( 'autoptimize_html_minify_inline_js_css', '__return_true');

    have a nice weekend! πŸ™‚
    frank

    Thread Starter Insect Trojan

    (@insecttrojan)

    thanks a lot but something is going wrong and it is not works πŸ™ its not removed its still there do i need also enable Also aggregate inline CSS?

    Thread Starter Insect Trojan

    (@insecttrojan)

    hello any thoughts why the add_filter is not working ? thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.