Support » Plugin: Popup Maker - Popup for opt-ins, lead gen, & more » GenerateBlocks + Popup maker issue

  • Resolved seorez

    (@seorez)


    Hello,

    I have installed Popup Maker on my site, and activated gutenberg to be active to create the popup’s content and layout.And now there is an issue with my GenerateBlocks plugin.

    I can see all GenerateBlocks available on the admin page, but once the popup is live, seems like the CSS associated with generated block on my popup isn’t loaded, and therefor i lose all the layout.

    GenerateBlocks support told the issue is with Popup maker https://generatepress.com/forums/topic/gpgbpopup-maker-issue/#post-2081699 (it blocks the GB styling somehow)

    Huge thanks if you can fix that!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Maria T

    (@mariatogonon)

    Hi @seorez – thanks for writing in and we are sorry to hear that you are experiencing this!

    ​May I ask, do you have any caching plugin active on your website? If yes, please try to disable asset caching under your Popup Maker > Settings > Misc and check it again to see if that helps. You can also check out this demo screencast to make it more clear for you: https://share.getcloudapp.com/bLukzNZy

    Let us know how that goes.

    If you need further assistance and for us to investigate the issue, please could you open a support ticket at our support portal, here: https://wppopupmaker.com/support/

    In line with that, we will be able to try to replicate the issue from our end.

    We hope for your kind cooperation with this. Thank you!

    • This reply was modified 1 year ago by Maria T.
    Thread Starter seorez

    (@seorez)

    I dont use any caching plugins. Anyway the issue stays regardless of activating or not “disable asset caching” settings.

    Thanks for further assistance!

    Plugin Support Bel

    (@belimperial)

    Hi @seorez

    Thank you for your reply.

    It seems you also sent us a message to our support website. I have replied to it. Could you please check it and kindly let us know if that helps fix the issue?

    Here’s also what I have replied:

    In general, we try to leave the styling of popup content to you and the plugins/themes installed on your site, as there are such various things you could insert. I suggest checking our debugging article Test if a Plugin or Theme Interferes with Popup Maker to help you isolate the issue.

    If you could also reply to the email and send us the URL where we can check the issue, that would be helpful to investigate the issue further.

    Thank you, and we look forward to your response.

    Thread Starter seorez

    (@seorez)

    Good day!

    I have checked you debugging article and it did not make sense. The problem stays even if I use originally build WP + PopUP maker + GenerateBlocks plugin. You can try it simply by installing this two plugins together with nothing else.

    Just put a grid, or a button, or a headline element from GenerateBlocks into a PopUp and you will see that, somehow, CSS is disabled.

    Plugin Support Bel

    (@belimperial)

    Hi @seorez

    Thank you for your reply.

    I investigated the issue using my test site. The issue is with how GenerateBlocks regenerate their CSS.

    Here’s a screen recording.
    Popup: https://share.getcloudapp.com/mXuJ1P2g
    Page: https://share.getcloudapp.com/RBuy4EB1

    Noticed the generated CSS files are stored in the uploads folder with different styles.
    Our plugin doesn’t control how the CSS style is generated from their plugin and the style of the popup content.

    We think you should contact their support and show them the screen recording as they have a better understanding of how the plugin is coded.

    I hope that helps. Let us know if you have any questions.

    Plugin Support mark l chaves

    (@mlchaves)

    Hey @seorez,

    One option is to force GenerateBlock’s CSS to load after Popup Maker using standard enqueuing functions.

    Here’s an example.

    
    /** Make GenerateBlocks CSS rule! */
    function enqueue_generateblocks_stylesheet() {
        // Make GenerateBlocks styles load after Popup Maker.
        wp_dequeue_style( 'GBSTYLEHANDLEGOESHERE' );
        wp_deregister_style( 'GBSTYLEHANDLEGOESHERE' );
        wp_enqueue_style( 'GBSTYLEHANDLEGOESHERE', '/wp-content/uploads/generateblocks/style-123.css', array( 'popup-maker-site' ) );
    }
    add_action( 'wp_enqueue_scripts', 'enqueue_generateblocks_stylesheet', 500 );
    
    

    I tested this code successfully using a CSS file of GB classes that I manually created and added to the uploads directory.

    Note: I couldn’t get my copy of GenerateBlock to generate its styles for some reason. That’s why I created my own GB CSS file. That’s also why I have the placeholders in the code for the GB styles handle (since the CSS didn’t generate, I don’t know what the handle is).

    Let us know how that goes 🙂

    Cheers!

    Thread Starter seorez

    (@seorez)

    Hi!

    Can you offer smth according to our discussion with GB support? https://generatepress.com/forums/topic/gpgbpopup-maker-issue/

    I really appreciate any help!

    Plugin Support Bel

    (@belimperial)

    Hi @seorez

    Thank you for your reply.

    I have informed our developer @mlchaves about what GB developer is asking. We will immediately update you once we receive new information.

    Thank you for your patience.

    Plugin Support mark l chaves

    (@mlchaves)

    Hey @seorez,

    Hi!
    
    Can you offer smth according to our discussion with GB support? https://generatepress.com/forums/topic/gpgbpopup-maker-issue/
    
    I really appreciate any help!

    Can you help clear up a couple of things?

    1) Who were you addressing in your reply?

    2) What exactly do you mean by “smth”?

    Lastly, can you confirm whether or not our suggestion worked?

    Cheers 🙂

    Thread Starter seorez

    (@seorez)

    Hey!

    No problem!

    1) I am trying solve this issue between PopUp Maker and GB support teams. Thats a link to our discussion on support forum. It looks like that you both have different point of view, how to solve this issue.

    2) I have sent your suggestion to GB support and they gave the answer. I sent you a link to it.

    Just trying to cooperate all of this staff.

    Update: I found out that PopUp maker has the same issue with PublishPress Blocks. It looks like it will be much easier to make some corrections in plugin code to prevent future issues with gutenberg-based extension plugins

    Thread Starter seorez

    (@seorez)

    Hey!

    Any news with the issue?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘GenerateBlocks + Popup maker issue’ is closed to new replies.