• Resolved spread777

    (@spread777)


    Hi,
    I’m trying to use CCSS from litespeed, but all the ccss file in QUIC.cloud I saw the same syntax error,
    <style id=”litespeed-optm-css-rules”>/*CssSyntaxError: /wp-content/plugins/tourmaster/tourmaster.css:1:91734: Unknown word*/</style>

    I try to locate the error and asked to author of the plugin, both of us can not find it, pls help.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • There are many errors with that file. You can test CSS with a linter, an online tool can be found here https://csslint.net/.

    Ask the plugin author to use a linter on their CSS. It would pick up the issues instantly.

    I recommend https://stylelint.io/ but they can also use https://github.com/CSSLint/csslint.

    Tell them to incorporate it into their build process before releasing updates to prevent issues in future.

    Here are the 3 critical errors.

    line: 1198, column: 105
    Parsing Errors Expected RBRACE at line 1198, col 105.

    .tourmaster-tour-category-grid.tourmaster-with-thumbnail .tourmaster-tour-category-overlay{ opacity: 0; alpha(opacity=0);

    line: 1226, column: 107

    Parsing Errors Expected RBRACE at line 1226, col 107.

    .tourmaster-tour-category-grid-2.tourmaster-with-thumbnail .tourmaster-tour-category-overlay{ opacity: 0; alpha(opacity=0);

    line: 1253, column: 107
    Parsing Errors Expected RBRACE at line 1253, col 107.

    .tourmaster-tour-category-grid-3.tourmaster-with-thumbnail .tourmaster-tour-category-overlay{ opacity: 0; alpha(opacity=0);

    The issue is that alpha(opacity=0); is not valid CSS, it should be filter: alpha(opacity=0);.

    Thread Starter spread777

    (@spread777)

    Hi, this means I should correct all the errors so that the critical css could work?

    Plugin Support Hai Zheng?

    (@hailite)

    Yes

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Critical CSS issue, syntax error unknown word’ is closed to new replies.