• Hey there,

    Didnt had the time before to update and migrate from 3 to 4.

    I only had a template overriding the template to fit my color, add my custom gif spinner etc.

    I read most of the documention you made but I still have some issue, I love the minimalistic theme which I think I will use as base to build a brand new template.

    Here are what I dont suceed to change :

    1) The CSS. I try to c/c the .scss file into \wp-content\themes\xxxx\plugins\login-with-ajax\login-with-ajax.scss but for now it doesnt re build the CSS so my change are not done.

    I only want to change colors, button style and stuff like that. Should I c/c the css files instead ?

    2) Can I customize the GIF spinner to add mine in an upgrade safe way ?

    3) Where can I customize the error windows style ? (change the red and green colors, change the text etc)

    3) I use Ultimate members, is there any way to use the reset password function from the UM plugin in your plugin ? For now in the template I override the link to redirect to the reset password page of Ultimate member.

    Thanks again for updating this nice plugin !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    1) I actually suggest you add styling to your theme or template rather than copying files, especially if there’s not much. See the custom CSS suggestions and further down about using the customizer, colors etc. – https://docs.loginwithajax.com/advanced/css/#css-override

    2) Yes, in theory if you copy the spinner to one of the override folders, it should use that instead, but note that it’s now an SVG file instead. You can always use CSS to override that though.

    3) That’s in the main SCSS file, compiled into the CSS files. You can copy the CSS files over if necessary, but I’d recommend edting the SCSS within the template override folder you’re using and have your editor compile CSS automatically.

    4) Hmm… the only way you could do that is by not using an AJAX link in the setting page, and then hooking into the regular WP function wp_login_url(), which has a login_url filter. We’ll add a lwa_remember_url filter for the next update, which will be specific to the reset URL. That’ll be out later this week.

    Thread Starter holdusback

    (@holdusback)

    Thanks for the reply !

    Some rules even with !important to get overrided, idk why, am working on it.

    Also for the spinner GIF, tried to add this rules in CSS :

    .lwa-wrapper .lwa-loading {
      background: url(/wp-content/themes/xxxx/plugins/login-with-ajax/loading.gif) 50% 45% no-repeat !important;
    }

    But it didnt work as well, will update if I found a solution.

    • This reply was modified 2 years, 6 months ago by holdusback.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Questions migrate from 3.x to 4.x’ is closed to new replies.