Popup Height Issue

Anyone have a height issue with the popup? Mine shows only half of the popup and i have to scroll to see all of it.

Anyone have a fix for this?

I have a trigger set to have the popup show up when the music link is clicked.

Would greatly appreciate any suggestions for this.

Thank you,
Michael

1 Like

Hi @user18447
is it possible that you are using an iframe element?
if so, then take a look there

1 Like

Im using Hostinger website builder and it allows for custom code. Once added to the page I paste in the code and bam its up and working usually. For some reason this is not presenting full size. ( did you see what i was describing? )

I wish there was a height setting in the editor but it isnt there. Where did you come across that Height setting?

Thank you Sina for responding so much appreciated.
Michael

1 Like

Hi @user18447 Michael.
do you have an iframe block?

2 Likes

ok i see


If you had an iframe block, the scrollbar would be here

That doesn’t seem to be due to the elfsight widget.

1 Like

Not sure how Hostinger handles the code and if it is inside an iframe. There is no way to adjust the height of the code box. It usually just works with every other code i place in there. It’s just this popup that is giving me trouble. If there is something i can show you that would help you understand it better let me know.

Thank you ,
Michael

1 Like

Sorry Michael,
I don’t know hostinginger provider and I don’t have any ideas about them. I don’t like these web building kit systems. A good CMS is the best

1 Like

Well I do so appreciate you taking the time to give this a look. I am going to go back and recreate the popup as it might be the one i am using. Who knows but i don’t like to quit or give up till i find a solution.

Have a great night,
Michael

1 Like

The Hostinger chat help found a solution for my issue.

This is the modified code:

That did the trick

1 Like

HA they deleted the code :crazy_face:

1 Like

Ok this is a one page website and I have selected the link to the section i want this to go to. It will not work unless I select open in new tab. I really don’t want to open a new tab. I want it to just go to the section directly. One more issue is that the popup wont close after clicking the button as you would think that it would. It has to be closed manually.

Anyone have any work arounds for this as there are no parts of the editor that address either of these two items.

Thanks in advance guy,
Michael

1 Like

Hey @user18447! First, I’d like to welcome you to our friendly Community! :dizzy:

Do I correctly understand that you are talking about Echo Contest widget?

If so, please let me consult with our devs. I will get back to you once I hear from them :pray:

1 Like

Dear @user18447, our devs reported to me that the issues appear because your widget is installed in iframe. To make the widget work correctly, you need to reinstall it, avoiding iframe.

In this case, please replace the current installation code in the Custom Code section with the code below:

<script>
  (() => {
    const WIDGET = 'elfsight-app-a1d34e07-49f2-47d7-814e-d9f5f89b2228';

    function installPlatform() {
      const platform = document.createElement('script');
      platform.src = 'https://static.elfsight.com/platform/platform.js';
      platform.async = true;
      document.head.appendChild(platform);
    }

    function installWidget() {
      const widget = document.createElement('div');
      widget.classList.add(WIDGET);
      document.body.prepend(widget);

      installPlatform();
    }

    if (document.readyState === 'loading') {
      document.addEventListener('DOMContentLoaded', installWidget);
    } else {
      installWidget();
    }
  })();
</script>

Please let me know if this helps :pray:

2 Likes

awesome ill give that a try.

I have another issue with it as well. When you click on the button ( If the state is set to not open a new tab ) It wont do anything but close. If i set it to a new tab it obviously goes to the section i want. I prefer not to open a new tab. To me thats very annoying. Anyone have any thoughts on a fix for this?

Thank you ,
Michael

1 Like

Hey @user18447, the issue with opening the link in the same window appears also because you have installed the widget incorrectly. Reinstallation avoiding the iframe should also fix this issue.

Could you please reinstall the widget using the code I sent and let me know how it goes?

1 Like