Joomlatools Support Center

bootstrap.css joomla 2.5 vs joomla 3.0

Hi,

I am changing some CSS colors for joomla 2.5 in media/com_docman/bootstrap/css/bootstrap.css.

Using the same file on joomla 3.3, it looks like it doesn't get loaded at all. Is this true?

Kind of hard to trace out what helpers are doing.

thanks,
Tom

Answer

Posted 5 years ago by Johan Janssens Staff

Hi Tom, that is correct.

Joomla 2

In Joomla 2.5 we are loading acustom bootstrap.css file by default. This CSS file contains only a subset of all Bootstrap CSS rules that we require. The bootstrap.css on Joomla 3.0 is 140kb while ours on Joomla 2.5 is 95kb, about 33% smaller.

Joomla 3


By default we never load any bootstrap file in Joomla 3.x. Instead we rely on the template to load the bootstrap file. This allows us to blend our extensions in with any Joomla 3 compatible template that uses Bootstrap.

If you are on Joomla 3 you need to either override the core boostrap.css file. This is not adviced however, best is to add your override rules in a custom.css file that doesn't get overridden when Joomla is updated.

Most commercial templates have such a file, for further instructions best to contact your template developer.

Does that help you ?

There are 3 more comments in this ticket.
Subscribe or login to join the discussion!

Anonymous
02.08.14
Answered

System Information

2.0
n/a
n/a
n/a