Spreadshop HTML embed code requires HTML5

I have a html code from Spreadshirt that I'm supposed to embed in Weebly so it displays my shop. This is already completed. However, when I publish the website, some of the content does not display correctly. I researched using the code on Spreadshirt and discover that the plugin on Weeby has to support HTML5. What do I need to do to make this properly display correctly using the Weebly embed code widget? Below is the html code.

<!DOCTYPE html>

<div id="myShop">
<a href="https://shop.spreadshirt.com/wesleyfashion">wesleyfashion</a>
</div>

<script>
var spread_shop_config = {
shopName: 'wesleyfashion',
locale: 'us_US',
prefix: 'https://shop.spreadshirt.com',
baseId: 'myShop'
};
</script>

<script type="text/javascript"
src="https://shop.spreadshirt.com/shopfiles/shopclient/shopclient.nocache.js">
</script>

1,330 Views
Message 1 of 5
Report
4 REPLIES 4
Square

You should remove the doctype code from this since that will already be present on the page itself, @wesleyd. Can you provide a link to the page of your site where you added it?

1,315 Views
Message 6 of 5
Report

HI Adam, 

My issue has been resolved. I had to add a CSS code that was not related to Weebly and now my website displays all content correctly.

1,314 Views
Message 6 of 5
Report
Square

Ok, glad to hear that!

1,313 Views
Message 6 of 5
Report

Hi Wesley, can you tell me how you resolved this please, as I'm having the same issue. Many thanks.

822 Views
Message 6 of 5
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.