Support » Accessibility » Need help with validating page, html validator shows errors

  • theblackplanet1

    (@theblackplanet1)


    hello to the community!
    I’m trying to validate a wordpress site through the w3 validator and it came with errors that left me clueless. The first error says:

    Error: CSS: background-color: Parse Error.
    
    At line 35, column 73250
    
    ackground-color:;;background-i

    I can’t find any way to search for that line of code. Please, any help will be really appreciated!

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Vijay Hardaha

    (@vijayhardaha)

    The submenu background color is empty, set a background color on it.
    You’ll find a settings customizer I guess. Or somewhere else based on your theme.

    Thread Starter theblackplanet1

    (@theblackplanet1)

    Hello Vijay, thanks a lot for your answer mate! Unfortunately I can’t find a way to detect where is the submenu color to adjust. I tried additional CSS code but nothing happened. Is there any other advice you can give me? I don’t know what is a settings customizer…

    Vijay Hardaha

    (@vijayhardaha)

    The submenu background value is empty for the mobile menu, so while inline CSS is generated background value is not printed since nothing is set there.
    As nothing is set on the background color you get the parse error.
    To solve it you’ll have to set a color or transparent as the background color of the submenu.

    I am not sure where you’ll find settings, most of the settings are in the customizer in the Astra theme.
    If you don’t find it, please create a new topic on the Astra theme support page https://wordpress.org/support/theme/astra/#new-topic-0 so that the theme developer and community can help you with this.

    Thread Starter theblackplanet1

    (@theblackplanet1)

    Thank you very much Vijay!I created a topic in the Astra theme support page as you said. Take care mate! 🙂

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