• When running w3c validator on our WordPress site using Sydney theme, we get a lot of errors relating to the CSS (in our case at line 68).

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @bagnall,

    Thanks for contacting us!

    W3C validator errors on CSS files can be concerning, but let’s walk through this together to identify what’s happening. Here are a few clarifications:

    • The Sydney theme uses vendor prefixes like -webkit--ms-, and -moz- in its CSS. These are entirely valid and necessary for cross-browser compatibility. Most modern CSS employs them, and they shouldn’t affect how your site displays or functions.

    To get the full context of what you’re seeing:

    1. Can you share the exact error message from the W3C validator? Just copy and paste the full error (including what property/value it’s complaining about). The line number can vary depending on how CSS is loaded, so the actual error text is more helpful.
    2. Please let me know if the issue appears when you validate your homepage versus inside pages.

    Typically, most W3C “errors” in WordPress themes are related to standard vendor prefixes. However, if they affect functionality or appearance, that’s something we’d definitely investigate further.

    Once I get these details, I can provide a more targeted advice!

    Thanks.

    Thread Starter bagnall

    (@bagnall)

    Hi Rajab, Thank you for getting back to me. I’m on leave for a week but will give more detail when I’m back at work, but IIRC there were rules such as “color:;” with no color value. I tried to attach a screenshot with my original post but was unable to. When I’m back at work, perhaps I could email directly? In the meantime, you can probably see the errors yourself if you run our front page https://podcast.langcen.cam.ac.uk/ through w3c validation filtering on errors.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.