Topic-icon sc_bootstrap.css override

Active Subscriptions:

None
7 years 8 months ago #64641 by fb_1127481405
A while ago I got a fix for the login modal showing text height as 20 when it needed to be 44. This is in the sc_bootstrap.css file which is installed with JFBConnect. I've just done a JFBConnect upgrade which has wiped out my changes to sc_bootstrap.css. What is the recommended way to override this css at the template level?
The topic has been locked.
Support Specialist
7 years 8 months ago #64642 by alzander
Replied by alzander on topic sc_bootstrap.css override
Create your own theme override for the SCLogin module. Please take a look at our SCLogin Theme Guide , which describes where to put your own CSS file which lets you override any styles from our module.

I hope that helps, but if you need anything else, please let us know.

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

None
7 years 8 months ago #64648 by fb_1127481405
I've followed that guide and modified default.css and sourcecoast.css to meet my requirements.

But the sc_bootstrap.css is loaded separately and I can't figure out where and what directory name to use to put my modified version into the template. Putting it into the /template/xxx/html/mod_sclogin/themes directory doesn't work.

I can always modify sc_bootstrap.css in the media folder but I know it will get clobbered next time I update JFBConnect.
The topic has been locked.
Support Specialist
7 years 8 months ago #64653 by alzander
Replied by alzander on topic sc_bootstrap.css override
We don't support a way to load a separate sc_bootstrap.css file. We'd recommend that if you're overwriting styles that you put them into your SCLogin theme. The sc_bootstrap file is mostly a copy of Bootstrap's CSS with a prefix for all styles of .sourcecoast If you add the same style to your theme, it should be loaded after and therefore override anything in the sc_bootstrap file.

I hope that helps explain, but if you need anything else, let me know.

Thanks,
Alex
The topic has been locked.