Topic-icon Login background

Active Subscriptions:

None
10 years 7 months ago #37690 by janšim
Login background was created by janšim
Hi, is possible, to have sclogin in position banner, and hava some image as a background? thanks you very much H
The topic has been locked.
Support Specialist
10 years 7 months ago #37701 by alzander
Replied by alzander on topic Login background
The best way I can think of to do something like that is to use the "Module Class Suffix" parameter in the SCLogin module. Set it to something like " imgbackground" (make sure there is a space in the front. Then, in your template's CSS file add:
.imgbackground {
background-image:url('your-image.jpg');
background-color:#cccccc;
}
I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 6 months ago #38440 by inêgui
Replied by inêgui on topic Login background
Hello,

This answer is important for me, but I didn't understand when you say "make sure there is a space in the front.".
In Module Class Suffix I should write: "imgbackground " (giving a space after the word?)
Thank you.
Best regards,
Inês
The topic has been locked.
Support Specialist
10 years 6 months ago #38452 by alzander
Replied by alzander on topic Login background
No, you would want the space in front of the word, like " imgbackground". That will allow you to add a style for:
.imgbackground

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 5 months ago - 10 years 5 months ago #39137 by inêgui
Replied by inêgui on topic Login background
Hello Alex,

Thank you for the answer.
I understood the logic behind the space in front of the word.

However, I followed every step you said and my login/logout button color did not changed (for another blue, #3399ff)

I send a few printscreens (download here ) Probably it will be easier to find out what I did wrong.

Thank you.
Best regards,
Inês Guilherme
Portugal
Last edit: 10 years 5 months ago by inêgui.
The topic has been locked.
Support Specialist
10 years 5 months ago #39158 by alzander
Replied by alzander on topic Login background
Thanks for the images. Can you post the actual URL where we can see the output HTML? From there, we should be able to investigate why the color isn't changing and help figure things out from there.

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

None
10 years 5 months ago #39160 by inêgui
Replied by inêgui on topic Login background
Sure, here it is:
www.econet-cno.org/
The topic has been locked.
Support Specialist
10 years 5 months ago #39275 by alzander
Replied by alzander on topic Login background
Inês,
Thanks for the link, and sorry for the delay.

The Module Class Suffix isn't working in that template position because your template isn't including the module in the standard way. The Module Class Suffix is a built-in feature of Joomla, and not something we have control over. It's up to the template to choose whether the suffix can be applied to a specific template position.

I'd recommend trying to move the SCLogin module to a different position to see if the suffix works properly in that position (like a sidebar or content area). If so, you'd need to contact your template provider to see if they can help you to get the moduleclass suffix feature to work in the position you're trying to use it.

Thanks,
Alex
The topic has been locked.