How to add Bootsrap to the template 'The World News II' for

Advanced and professional portal news Joomla template with community features and various content display layouts.
GK User
Tue May 21, 2013 7:13 pm
Hello,

How to add Bootsrap to the template 'The World News II' for Joomla 2.5

Regards,
Marcin
User avatar
Fresh Boarder

GK User
Tue May 21, 2013 7:22 pm
Could You be more specific, what bootstrap means to You (maybe You could make a simple image showing that)?
User avatar
Moderator

GK User
Wed May 22, 2013 11:26 am
I would like to assign a class Bootstrap to different elements on the page: the modules, components, an editor, also jawaskrypt

Regards
Marcin
User avatar
Fresh Boarder

GK User
Wed May 22, 2013 9:01 pm
You can add a class to an element (module, component etc) by entering class name into "suffix" ("Module Class Suffix") input field.
User avatar
Moderator

GK User
Fri May 24, 2013 5:25 pm
Hi Cyberek,

Thanks for the reply.

Yes I know, but in Joomla 2.5 does not have the Bootstrap, and for now I do not even want to upgrade to 3

I mean where to add in the template a css and other files Bootstrap


Marcin
User avatar
Fresh Boarder

GK User
Sat May 25, 2013 7:40 am
How to add Bootsrap to the template 'The World News II' for Joomla 2.5


Do you mind the Twitter Bootstrap Integration?
If yes, first this this customize job (not standard support question!), second check those solutions:

1) http://extensions.joomla.org/extensions ... ting/19761
2) http://extensions.joomla.org/extensions ... ting/21354
3) http://extensions.joomla.org/extensions ... ting/21856
User avatar
Platinum Boarder

GK User
Sat May 25, 2013 8:35 am
If You are talking about:
http://twitter.github.io/bootstrap/
You could add those files into template folder, then edit:
/templates/gk_twn2/layouts/blocks/header.php and add lines:
$this->API->addCSS($this->API->URLtemplate() . '/css/FILENAME.css');
to load css and
$this->API->addJS($this->API->URLtemplate() . '/js/FILENAME.js');
to load js.
But be aware, as this bootstrap is an entire "framework" and its styling might collide with ours, making templates broken.
User avatar
Moderator

GK User
Mon May 27, 2013 9:31 am
Thanks guys for your help.

In fact, adding a class Bootstrap to teplate cause many problems.

I decided to use only those elements of the css that I have needed.



Marcin
User avatar
Fresh Boarder

GK User
Thu May 30, 2013 12:04 am
ok, I suggest use Awsome Font very useful.
User avatar
Platinum Boarder


cron