How can i change the light box of a theme

Hey,

i have a theme forest theme including a light box for log in in the menu header.

How can i change this that i get a user pro plugin lightbox with this

code

Can you tell me how i can link my user pro plugin for log in (menu at the header) ?

Thanks for help

  • Vaughan
    • Support/SLS MockingJay

    Hi @bammab,

    Hope you’re well?

    I can’t guarantee this will work but,

    Find the following;

    $link = str_replace('href=', 'class="simplemodal-login" href=', $link);

    Replace with;

    $link = str_replace('href=', 'class="popup-login" href=', $link);

    Find:

    $link = str_replace('href=', 'class="simplemodal-register" href=', $link);

    Replace with;

    $link = str_replace('href=', 'class="popup-register" href=', $link);

    But i really am not sure the rest of the script will work, but worth a try.

    Hope this helps

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.