• Resolved Tim in Seattle

    (@theframeguy)


    I’m using Nelio Popups 1.0.4 and used the Container block, Grid block, and Headline block from GenerateBlocks and none of the styling/formatting is showing on the frontend, although it shows in the WordPress block editor. Is this a limitation of GenerateBlocks or Nelio Popups?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Antonio Villegas

    (@avillegasn)

    Thanks for your message. We’ve investigated the issue with GenerateBlocks and found that the issue happens because GenerateBlocks loads styles dynamically according to the post/page loaded. Therefore, since we only load the content of the popup in another page/post where the popup is shown, the styles from GenerateBlocks for the blocks in the popup are missing. Only the ones for the page/post that hosts the popup are included.

    In fact, we found that this problem may already happen with particular styles of core blocks from WordPress or any other block plugin that loads scripts/styles dynamically. For example, the horizontal centering of the core/buttons block in Gutenberg occurs because the block editor generates a dynamic CSS style that is loaded only in the page/post where the buttons block appear. A core/buttons block with centering styles in the popup will appear as not centered when it appears in the frontend. Exactly the same issue that you discovered with GenerateBlocks.

    We have a solution to fix this issue with the missing styles/scripts required by any block included in a popup. Right now, we are developing it and testing it internally. If it works as we expect it should and it fixes the issue with the missing styles (we hope it will), we will release a new version of Nelio Popups soon.

    I’ll keep you posted. Hopefully we will overcome the issue quickly. Thanks again for helping us noticing it.

    Plugin Author Antonio Villegas

    (@avillegasn)

    We just released Nelio Popups v1.0.5, which loads popup content using iframes and fixes the missing styling problem. We’ve fully tested it and works great with GenerateBlocks and any other plugin requiring styles and scripts.

    Please check it out and let us know if you have any doubt.

    Thread Starter Tim in Seattle

    (@theframeguy)

    Uh oh, the Nelio Popups v1.0.5 update totally broke GenerateBlocks on my site.

    Plugin Author Antonio Villegas

    (@avillegasn)

    It is weird, but it is happening to us in our own site too. We are investigating it. I’ll keep you posted.

    Plugin Author Antonio Villegas

    (@avillegasn)

    We’ve already released v1.0.6 with the fix. Hopefully, now everything should work as expected. Thanks again for your help!

    Thread Starter Tim in Seattle

    (@theframeguy)

    Thank you for the fix. I am really enjoying using Nelio Popups. You have done a good job in designing this blocks plugin. I like the attention to user interface detail I can see in the plugin. I wish more developers would create single-use block plugins like Nelio Popups that do one thing, do it well, and naturally fit into the WordPress Blocks ecosystem.

    Plugin Author Antonio Villegas

    (@avillegasn)

    Thanks for your kind words. I’m glad you like Nelio Popups and its simplicity. If you could write a review here, that will really help us get more attention. Thanks again for you help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Nelio Popups compatability with GenerateBlocks?’ is closed to new replies.