HTML Validation Error In Maintenance Mode - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

HTML Validation Error In Maintenance Mode

D

David

Helix Framework 6 months ago

Hello,

When activating the maintenance mode, an error is reported when checking the resulting HTML code using the validator:

https://validator.w3.org

Error: Element style not allowed as child of element body in this context.

The error is due to the fact that in this file:

\plugins\system\helixultimate\overrides\layouts\comingsoon.php

Code is added with the “style” tags inside the body (lines 205-213):

if($params->get('comingsoon_bg_image')) : ?
   <style>
        body{
               ...
            }
   </style>
endif;

Image

If this part of the code is moved just before line 71, before the “head” ends, the HTML validation is successful.

Could you review it to correct it in the next version?

Thank you.

0
2 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 6 months ago #190979

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. I will share your issue to our developer team.

Best regards,

Toufiqur Rahman (Team Lead, Support)

0
D
David
Accepted Answer
6 months ago #190980

Ok, thank you.

0