Topic-icon Layout problems after J4 upgrade

Active Subscriptions:

None
1 year 6 months ago - 1 year 6 months ago #68283 by fabmur
Hi. I have upgraded my site to J4.

I have a problem with SC login module.

In the module, the link for Login is not underlined and highlited in blue, and when the mouse goes over it, the cursor does not become an hand.
The Register link, instead, behaves regularly.

That may not help to get visitor's attention and clearly see where to click for Login.

You can have a look at my J4 site here: www.waterwind.it/new/en/

Any tips?

Thanks
Last edit: 1 year 6 months ago by fabmur.
The topic has been locked.
Support Specialist
1 year 6 months ago #68286 by mel
I see the issue. We're rendering that "Log In" link differently now in the newer version (using Joomla's built-in modal code). The boring details are that there's a style targeting anchor tags that are not href's and setting the color and text-decoration for those.

As a workaround, can you add this to your template or SCLogin theme
.ns-bs5.sclogin-modal-links a {
    color: #0d6efd !important;
    text-decoration: underline !important;
}

I'll put an issue in our tracker to fix this for the next release, but this should get you fixed in the meantime.

-Melissa
The following user(s) said Thank You: fabmur
The topic has been locked.
Active Subscriptions:

None
1 year 6 months ago #68291 by fabmur
Well, if I add that code in SClogin theme.php, it doesn't work, and I get an error message if I try to open the module in the backend of my site.

If I add it in user.css in my template, it works.

Thank you

Fabio
The topic has been locked.
Support Specialist
1 year 6 months ago #68292 by mel
Thanks for the feedback. Before I check in any changes for this for the next release, I'll be doing more testing, etc but that should help you for now.

-Melissa
The topic has been locked.