Error message: Attempting to close HtmlElement 'body' before HtmlElement 'style' was closed

Andrecolap
Excursionist
38 0 1

Hi there,

 

I am getting an error message saying 'Attempting to close HtmlElement 'body' before HtmlElement 'style' was closed'. This appears on theme.liquid and might be caused by the 2 identical bits of code that I have from line 383 to 400. (see below)

Andrecolap_3-1703931437529.png

 

The bit of code is:

 

<style>

@media screen and (min-width: 750px){
    .background-none .multicolumn-list .multicolumn-card__info{
        padding-left: unset !important;
     }
}

</style>

 

I added this code to align the text in the multicolumn section with the images above (see below)

Andrecolap_2-1703931403680.png

 

If I remove the code from line number from 383-291 or from 392-400 I have again the problem I had before: the text is not aligned with the images. If I keep both codes the text is aligned but I keep receiving the warning/error message.

Andrecolap_1-1703930986439.png

 

Any idea of how to sort this? Or is that message something I can ignore?

 

Many thanks

Reply 1 (1)

Andrecolap
Excursionist
38 0 1

the site is not published yet but here is a link to the preview, password is chonga:
https://77af35.myshopify.com/