• Resolved Jon Fuller

    (@garconis)


    When Popup Maker is installed, our child theme style.css is being loaded twice. Once via our enqueue, and once somehow by either your plugin or Divi. The one directly above our <link> in the head is being loaded with an ID of divi-style-pum-css

    Screenshot: https://i.imgur.com/aYhh4Mx.png

Viewing 10 replies - 1 through 10 (of 10 total)
  • Bel

    (@belimperial)

    Hello @garconis

    Thank you for reaching out!

    I’m pleased to help you sort the matter. I checked the image that you have provided, and the two files have different paths and link IDs.

    The first highlighted is coming from Divi Booster social icons. While the second one is from your child theme. Please compare the two files to confirm they are identical.

    Hope that helped.

    Let us know if you have any questions.

    Best regards,
    Bel

    Thread Starter Jon Fuller

    (@garconis)

    I was talking about the one in the screenshot with the red arrow, with the ID of divi-style-pum-css

    That’s somehow a result of your plugin.

    Bel

    (@belimperial)

    Hi @garconis

    Thank you for your reply.

    I tried to replicate the issue on my test site, but I did not reproduce the issue.
    Please see: https://share.getcloudapp.com/rRuWm6rW

    It seems the issue is only occurring on your site. For us to investigate further, this would fall under our premium support, and so please could you open a support ticket at our support portal, here: https://wppopupmaker.com/support/

    Thank you, and we look forward to hearing from you.

    Thread Starter Jon Fuller

    (@garconis)

    Are you able to share the functions.php of your child theme? We are using this one, to pull in the child style.css and adding a datestamp to the file: https://github.com/FreshySites/Divi-child

    Thread Starter Jon Fuller

    (@garconis)

    Although, it’s also worth noting that when your plugin is installed (even WITHOUT a Divi Child Theme), it causes this stylesheet to pull in:

    <link rel="stylesheet" id="divi-style-pum-css" href="https://example.com/wp-content/themes/Divi/style-static.min.css?ver=4.13.1" type="text/css" media="all">

    However, when your plugin is NOT installed, it doesn’t pull that file in. So something (either on your end or Divi’s end) is causing files to get pulled in with your pum in the id.

    • This reply was modified 3 years ago by Jon Fuller.
    Bel

    (@belimperial)

    Hi @garconis

    Thank you for your reply.

    In the child themes functions.php I used, it only enqueue the parent theme style without any other code to it. I noticed you are still using an older version of the parent theme – ver=4.13.1

    Please update it to use the latest version 4.14.1. If the issue persists, please send us a message at https://wppopupmaker.com/support/, as this would fall under our premium support.

    Thank you and we hope to hearing from you soon.

    I’m seeing this issue as well with a second version of our Child Theme CSS being loaded and it’s using the version of the plugin instead of our theme version.

    <link rel=’stylesheet’ id=’child-style-css’ href=’https://example.com/wp-content/themes/childthemename/style.css?ver=4.14.2&#8242; type=’text/css’ media=’all’ />
    <link rel=’stylesheet’ id=’divi-style-pum-css’ href=’https://example.com/wp-content/themes/childthemename/style.css?ver=4.14.2&#8242; type=’text/css’ media=’all’ />

    I disabled Popup Maker and the issue still persists but the second stylesheet changes to divi-style-css so it looks like this is Divi issue.

    Thread Starter Jon Fuller

    (@garconis)

    It seems to be related to Divi’s dynamic settings. I’ve adjusted our child theme functions.php to use this enqueue instead: https://gist.github.com/Garconis/4fc4e917a44a543b2589012a96baab72

    Thanks @garconis !!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Divi child theme style.css showing twice’ is closed to new replies.