Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Enable bootstrap in Newsstream2

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Is bootstrap standard enabled in Newstream2 template?

We use an application, where the supplier stated that bootstrap is not enabled.

His suggestion is to put following lines in index.php:
// Bootstrap ccs files
JHtml::_('bootstrap.tooltip');
$doc = JFactory::getDocument();
$doc->addStyleSheet($this->baseurl . '/media/jui/css/bootstrap.css');
$doc->addStyleSheet($this->baseurl . '/media/jui/css/bootstrap.min.css');
$doc->addStyleSheet($this->baseurl . '/media/jui/css/bootstrap-responsive.min.css');
$doc->addStyleSheet($this->baseurl . '/media/jui/css/bootstrap-extended.css');
$doc->addStyleSheet($this->baseurl . '/media/jui/css/icomoon.css');

I rather set it in template settings.

Could you advice where to put what statements?
  • Tom's Avatar
  • Tom
  • LIfetime Developer - Big Bamboo
  • 132 posts
  • Karma: 1
The administrator has disabled public write access.
Hi

What version of bootstrap are you wanting to use?

Cheers
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Looking at newstream2 it is a bs3 template

There is also an option in the general tab called legacy compatible

Have you tried that?

Cheers
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
Last Edit: 2 years 8 months ago by manh.
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers