Support » Plugin: Clean Login » CSS files could not be loaded when using shortcodes in the source code!

  • Resolved BeeTeam368

    (@beeteam368)


    Hi Team,

    Thanks for this great job!

    However, in the latest update. This code was causing the CSS file to not be downloaded when using CleanLogin’s shortcode with “do_shortcode”.

    https://ibb.co/CMjLrnM

    Your script is only available when using shortcodes in the content of the page or post.

    In a use case like this the CSS files won’t be downloaded:

    return do_shortcode('[clean-login]');

    Is there any solution for this problem?

    Regards!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Javier Carazo

    (@carazo)

    @beeteam368,

    I have had to do it to improve the WPO.

    We cannot load CSS in every page (and in this update we have included new ones).

    do_shortcode is not a standard use, so you need a custom solution.

    You have to enqueue the CSS in your functions.php.

    Do you know how?

    Hi CleanLogin plugin author,

    The Theme Author was able to provide me custom CSS to enqueue the CSS in functions.php. This made the login interface look great on all screens again.

    My question is that there is now an eye icon which is meant show/hide (toggle) password on the login module. The icon is not positioned in the password field. It is somewhat off to the side so I didn’t even know what the eye icon was at first. How can I position the icon in the password field or hide it altogether?

    Thank you!

    Thread Starter BeeTeam368

    (@beeteam368)

    @carazo Thanks for the clarification.

    We understand and have changed a few things to match your current update.

    Please lock this topic and mark it as solved!

    Regards!

    • This reply was modified 9 months, 3 weeks ago by BeeTeam368.
    Plugin Author Javier Carazo

    (@carazo)

    @chaptify,

    Please do not use another thread to ask about a new problem. Anyway, it seems you have to adapt your CSS because in the CSS standard, the eye is inside the password field.

    @beeteam368 great.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS files could not be loaded when using shortcodes in the source code!’ is closed to new replies.