• Forfatterfruen

    (@forfatterfruen)


    Hi all you clever people!

    My background (just plain colour) suddenly disappeared after fixing my header (making it clickable) after a theme update. Probably messed up some code..

    Any advice on what to do? Much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Run your site through the W3C Validator and see whether anything revealing is exposed.

    Thread Starter Forfatterfruen

    (@forfatterfruen)

    Thanks a lot!

    This is what comes up, but I can’t seem to find the code in the editor… Any thoughts?

    Document type does not allow element X here

    The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements — such as a “style” element in the “body” section instead of inside “head” — or two elements that overlap (which is not allowed).

    One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML’s rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML’s “self-closing” tags for “meta” and “link” in the “head” section of a HTML document may cause the parser to infer the end of the “head” section and the beginning of the “body” section (where “link” and “meta” are not allowed; hence the reported error).

    Line 15, column 42: document type does not allow element “body” here

    <body class=”home blog custom-background”>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Theme: Picolight – Disappearing background’ is closed to new replies.