Topic-icon SCLogin Enhanced Login

Active Subscriptions:

None
5 years 1 month ago #65309 by juavaz
Hello
I would like to know if they have any way of changing the mobile view in the button that looks different, with a user icon or something similar
I have managed to do it with the login, but with the logout it does not work out, thanks

this is what is modified in the "login" file line 28
echo '<div class="sourcecoast sclogin-modal-links sclogin"><a ' . $loginClass . ' href="#login-modal" role="button" data-toggle="' . $modalName . '"><span class="d-none d-lg-inline-block">' . JText::_('MOD_SCLOGIN_LOGIN') . '  </span> <i class="spmoviedb-icon-user d-inline-block d-inline-block"></i></a>';
The topic has been locked.
Support Specialist
5 years 1 month ago #65312 by alzander
Replied by alzander on topic SCLogin Enhanced Login
I'm unsure what you're asking for. Can you provide an image or more description of what you're trying to change and what you want/expect it to look like?

We'll gladly help however we can once we understand further.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
5 years 1 month ago #65316 by juavaz
Replied by juavaz on topic SCLogin Enhanced Login
good, I'm sorry I did not explain myself well, I put it quickly

Here I put two screenshots of the login button, one with the button in desktop view

File Attachment:

and another in mobile view


but I can not do the same with the disconnect button because it is inside a form and my knowledge is limited

File Attachment:


File Attachment:
The topic has been locked.
Support Specialist
5 years 4 weeks ago #65327 by mel
Replied by mel on topic SCLogin Enhanced Login
I'm sorry for the delay in response. If you're still having the issue:

Whether it's in a form or not shouldn't really affect how you add that icon.

How did you add the icon for the login button?
* If you've done it via CSS, then you would just also target the input element for the logout button with a new style.
* If you added it by updating the HTML code for the button, then you can update the code for the logout button. In this case, you'd do a template override for the /mod_sclogin/tmpl/logout.php file

If I can see the behavior in action for the login button, it'd be much easier to suggest what to specifically do. You can send a specific URL where I can see your module.

-Melissa
The topic has been locked.