Html Widget on mainpage not working

Hi there fellow sitejeters,

im currently working on a customer integration for a this widget:

<div id="widgetContainer" style="height: 720px;">
<a style="float: right;text-decoration: none;" target="_blank" href=https://www.pflegehilfe.org/smb-swift-med-berlin-gmbh-pflege-berlin-86593><img src="//widget.pflegehilfe.org/pflegehilfe-logo-small.png" style="height: 30px"></img></a>
</div>

<script src="//widget.pflegehilfe.org/widget.min.js" data-id="a1ac91af-963c-ce65-973d-08d9151521f3" data-theme="light"></script>

The thing is. As soon as we integrate it on the main page, the widget only shows a huge blank space with a logo.

But if we put it on a subpage the widget starts working.

We have no idea what was happening there and we already tried the widget on other projects too. There it worked out perfectly. Only on the project we need it to work doesnt.

Thanks in advance

Edit: We used the html widget as suggested. It works fine on any other project we have.

Hi! The only explanation that I can find, on why your is not working on your Home page, is that you might already have another div with the same id widgetContainer, or you have multiple widgets and they all render the content into the same div.

Make sure that your widgets have unique IDs on the page.

Hope this helps!