Topic-icon SC Login is loading bootstrap css even when I told not to !

Active Subscriptions:

None
10 years 8 months ago - 10 years 8 months ago #39888 by tijj
Hi,

I have just one SC login module published and I have set ot not to load bootstrap css but I still see it in page source. I use joomla 3.1.5 and latest version of SC Login.

I already have bootstrap loaded by my template so I dont want this heavy css to load again just for a login module. Thanks for helping.

/media/sourcecoast/css/sc_bootstrap.css" type="text/css" />

Thanks
Last edit: 10 years 8 months ago by tijj.
The topic has been locked.
Support Specialist
That's a partial bug in the SCLogin module. We're working to overhaul our layout system to break up the CSS a lot better than it already is. Right now, the Bootstrap CSS also includes some styles specific for our module. You can try to remove it with the code below, but that may give you some styling issues that you'd need to clean up or re-incorporate into your template's CSS.

To remove our inclusion, edit the /modules/mod_sclogin/mod_sclogin.php file. Around line 123, you'll see:
$document->addStyleSheet(JURI::base(true) . '/media/sourcecoast/css/sc_bootstrap.css');
Delete that line.

The next major release of the SCLogin module should have much better broken out styles and the option to include the original Bootstrap CSS, if necessary.

Thanks,
Alex
The topic has been locked.