• Resolved pttony

    (@pttony)


    After installing W3 my site title font was stripped. Here’s my Css:

    .site-title {
    display: inline-block;
    font: normal 40px/60px ‘Pacifico’, ‘cursive’;
    }

    If I deactivate w3 it works… what setting might be affecting this? Is there a fix / workaround?

    The site title is in the header area…

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    Do you have HTML minify enabled by any chance?

    Thread Starter pttony

    (@pttony)

    I do…or did…I turned it off, purged cache… problem still persists. Could it be another setting?

    Thread Starter pttony

    (@pttony)

    let me correct my previous post… issue seems resolved now. Is there any way to do a workaround that would still allow me to minify html?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    We’ve made some tests and indeed there is a bug and we’ll release a fix soon.
    What happens is:
    w3-total-cache/lib/Minify/Minify/HTML.php line 346:

    $m[2] = preg_replace('/([a-z0-9]=)[\'"]([^\'"\\s=]+)[\'"](?!\\/)/i', '$1$2', $m[2]);
            $m[2] = preg_replace('/([a-z0-9]=)[\'"]([^\'"\\s=]+)[\'"]\\//i', '$1$2 /', $m[2]);
            $m[2] = preg_replace('/([a-z0-9])=[\'"][\'"]/i', '$1', $m[2]);

    should be:

            $m[2] = preg_replace( '/([a-z0-9]=)\'([^\'\\s=]+)\'(\\s|>)(?!\\/)/i', '$1$2$3', $m[2] );
            $m[2] = preg_replace( '/([a-z0-9]=)"([^"\\s=]+)"(\\s|>)(?!\\/)/i', '$1$2$3', $m[2] );
            $m[2] = preg_replace( '/([a-z0-9]=)\'([^\'\\s=]+)\'\\//i', '$1$2 /', $m[2] );
            $m[2] = preg_replace( '/([a-z0-9]=)"([^"\\s=]+)"\\//i', '$1$2 /', $m[2] );
            $m[2] = preg_replace('/([a-z0-9])=[\'"][\'"]/i', '$1', $m[2]);
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘site title font stripped’ is closed to new replies.