How to link Bootstrap css to my template?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Nov 26, 2013 3:15 pm
Reply with quote
Report this post
Hi guys.

I have been searching around my template files for the index.php to add the code line to call Bootstrap css, but
could not find it.
Where to add code line to link Bootstrap css to my template?

Thanks
User avatar
Senior Boarder

GK User
Tue Nov 26, 2013 4:37 pm
Reply with quote
Report this post
/Templates/gk_storebox/layouts/default.php
User avatar
Moderator

GK User
Wed Nov 27, 2013 12:46 pm
Reply with quote
Report this post
Thanks for the reply.
In the default.php theren't any reference where to place the call line ( <link rel="stylesheet" href="[path]/bootstrap.min.css" type="text/css"> ) for css file.
Could you please show me where to paste it?
I pasted below how looks my first lines.

Regards

Code: Select all
<?php

/**
 *
 * Default view
 *
 * @version             1.0.0
 * @package             Gavern Framework
 * @copyright         Copyright (C) 2010 - 2011 GavickPro. All rights reserved.
 *               
 */
 
// No direct access.
defined('_JEXEC') or die;
//
$app = JFactory::getApplication();
$user = JFactory::getUser();
// getting User ID
$userID = $user->get('id');
// getting params
$option = JRequest::getCmd('option', '');
$view = JRequest::getCmd('view', '');
// defines if com_users
define('GK_COM_USERS', $option == 'com_users' && ($view == 'login' || $view == 'registration'));
// other variables
$btn_login_text = ($userID == 0) ? JText::_('TPL_GK_LANG_LOGIN') : JText::_('TPL_GK_LANG_LOGOUT');
$tpl_page_suffix = $this->page_suffix != '' ? ' class="'.$this->page_suffix.'"' : '';
// make sure that the modal will be loaded
JHTML::_('behavior.modal');
// content class
$gkContentClass = '';

if($this->API->modules('header') == 0) {
   $gkContentClass = 'gkContentTopBorder ';
}

if($this->API->modules('sidebar') == 0) {
   $gkContentClass = 'gkContentNoSidebar';
}

if($gkContentClass != '') {
   $gkContentClass = ' class="'.$gkContentClass.'"';
}

?>
<!DOCTYPE html>
User avatar
Senior Boarder

GK User
Fri Nov 29, 2013 2:16 pm
Reply with quote
Report this post
It looks like the beginning of the file - head is located just under those lines.
User avatar
Moderator


cron