Topic-icon Change class

Active Subscriptions:

None
8 years 11 months ago #62047 by MartenVisser
Change class was created by MartenVisser
Hi,

I wan't to use the style of the template i am using. Is it possible to just change the button class of the of the template instead of adding a new css file?

Thanks

Kind regards,
Marten Visser
The topic has been locked.
Support Specialist
8 years 11 months ago #62053 by alzander
Replied by alzander on topic Change class
I'm unsure specifically what you're asking about. Can you let me know what style or element within JFBConnect or the SCLogin module you're trying to change? Once we understand a bit further, we should be able to help you further.

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

None
8 years 11 months ago #62077 by MartenVisser
Replied by MartenVisser on topic Change class
Hi,

Thanks for your response. Iam trying to change the login and register buttons. When i change the class in the browser to the class of the template, the button just easily changes in the button of bij joomla template. So i was thinking, can i change the class of the sclogin buttons somewhere in the code? If not, i read the documentation about how to change the styles, but i can't get it work.

Kind regards,
Marten
The topic has been locked.
Support Specialist
8 years 11 months ago #62079 by mel
Replied by mel on topic Change class
If you want to target the SCLogin module buttons, you can add the class to the already existing styles in your template CSS if you want. You'll just add the classes to target the SCLogin buttons as well.

For example, looking at your page you have the "uk-button uk-button-primary" class. You can update the styles in your CSS like:
.uk-button.uk-button-primary { ... }
to
.uk-button.uk-button-primary, .sclogin .btn.btn-primary { ... }

If you need more help with a specific style that's not working, please let me know.

-Melissa
The topic has been locked.
Active Subscriptions:

None
8 years 11 months ago #62092 by MartenVisser
Replied by MartenVisser on topic Change class
I can not manage it. The css is very big and weird .. Can't i do it the other way around? so change the class in sclogin module?

Met vriendelijke groet,
Marten Visser
The topic has been locked.
Support Specialist
8 years 11 months ago #62094 by mel
Replied by mel on topic Change class
The style change that I mentioned was just one style that would need to be changed. There would be multiple places in your template file that you need to find the appropriate styles to update.

Doing a change to the classes for the SCLogin module is possible. However, you'll have to do a template override of our view classes.
The topic has been locked.