Archived topic
Popup unconfiguring CSS
3 replies · Started by Leonardo on September 17, 2022
Hi!
I know you guys don't support third-party plugins, but I'd like to see if the problem could be with the Generatepress theme.
I'm using the Popup Builder plugin, creating the popup by gutenberg blocks.
When the popup is in draft mode, it appears correctly: https://germinlab.com.br/wp-content/uploads/2022/09/image-1-1.png
However, when I publish, it completely unconfigures the CSS: https://germinlab.com.br/wp-content/uploads/2022/09/image-2.png
Anyway, if you know something, let me know. Thanks.
Hi there,
When you add GB blocks into somewhere it doesn't know, it can not generate dynamic CSS, you will have to tell GB where it is by using a function like this:
https://docs.generateblocks.com/article/adding-content-sources-for-dynamic-css-generation/
Here's an example from Toolset's support: https://toolset.com/errata/generateblocks-styles-lost-on-front-end-when-using-content-templates/
I would suggest reaching out to the plugin support to see if they can provide an adapted function.
I got my solution using the Advanced Popup plugin.
Thanks!!!
You are welcome :)