Dawn Theme - form within a link popup issue

xnyjyh
Excursionist
135 0 6

I have an issue of pre-site loading with my form showing weirdly. I have pasted a code into my theme.liquid before </head> as I cannot have a section within a section. But have this issue now of the form showing on site preload. its ugly. How can this be fixed? image is shown after the code below.

html:

<div id="popup2" class="overlay">
<div class="popup">
<h2 style="font-size:20px!important;text-align: left;font-family: work sans!important;font:semibold;color: #000;">Contact</h2>
<a class="close" href="javascript&colon;void(0)" onclick="yourFunction()">&times;</a>
<div class="content">
{% section 'contact-form-popup' %}

</div>
</div>
</div>

 

 

Im pretty sure the css has nothing to do with it. Hopefully, theres away to fix this?!

 

Screenshot of pre-site loading:

onpage load home screen.png

 

Reply 1 (1)

topnewyork
Trailblazer
215 25 27

Hello There,

Please share your store URL and password.
So that I will check and let you know the exact solution here.


Thanks

Need a Shopify developer?
Hire us at topnewyorkwebdesign.com
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel