Search in support tickets

#150 – Bootstrap

Posted in ‘Support’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Monday, 04 December 2017 15:48 CET

Two questions:
1. is it possible to load bootstrap.css and JC files from CDN not from local folder? - it takes long time to load every time.
2. Is it possible to load less .css files, not to be so many.

Grateful in advance,
Custom Fields
Joomla Version
PHP Version
Product Version
Tuesday, 05 December 2017 10:30 CET
You can find extension on that will group and minified the css
like this well known ,

Please note that you should check in dev before production (for CSS generally there is no lot of issue) but with JS minified and group you can have issue depending on the extensions installed.
Tuesday, 05 December 2017 11:05 CET
I have JCH and break website, even if I exclude some css and JS.
JCH is not solution...

On what php file it calls local botstrap.css so I can change it to CDN? and it is regular bootstrap file it is not modified?
Wednesday, 06 December 2017 15:22 CET
bootstrap is loaded by Joomla! in the template index.php file

it will be hard to change it like this.
// Add JavaScript Frameworks


// Add Stylesheets
$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/bootstrap.css');

I think best solution is to spend time on JCH, did you try only CSS ?
Thursday, 07 December 2017 09:55 CET
there is no way to load bootstrap from CDN?
right now it loads from ../templates/adsclarity/css/booststrap.css
is that calling from main idex.php or from somwhere else?
I tried every option with JCH, have you been using it?
Thursday, 07 December 2017 22:40 CET
you can remove

$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/bootstrap.css');

and replace by


It should works
Friday, 08 December 2017 14:27 CET
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.