• Resolved panther0087

    (@panther0087)


    I made popup 2 modal for login and signup individually using Elementor. For login popup, it works well.
    But for signup popup it causes “Uncaught SyntaxError: Invalid or unexpected token”. And it doesn’t show the style that I made.
    I thoroughly analyzed the code.
    I found that the signup modal doesn’t load basic.min.css and theme.min.css. It seems like it’s from the above error.

    Can anyone please help me? I can’t resolve this issue though I worked for 2 days on this single ridiculous problem ??
    When I manually add the links like the following it worked. But this is NOT “Programming” I think.

    $("head").append(
       "<link " +
         'rel="stylesheet" ' +
         'id="gform_basic-css" ' +
         'href="https://mysite.local/wp-content/plugins/gravityforms/css/basic.min.css?ver=2.5.14" ' +
         'type="text/css" ' +
         'media="all" ' +
        "/>"
     );
    $("head").append(
       "<link " +
         'rel="stylesheet" ' +
         'id="gform_theme-css" ' +
         'href="https://mysite.local/wp-content/plugins/gravityforms/css/theme.min.css?ver=2.5.14" ' +
         'type="text/css" ' +
         'media="all" ' +
        "/>"
     );

    I hope get help from support team if possible.
    I would really appreciate.
    Thank you in advance.

    • This topic was modified 3 years, 4 months ago by panther0087.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Elementor popup modal does not load basic.min.css and theme.min.css’ is closed to new replies.