We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Alexandre
  2. General Discussion
  3. Friday, 20 June 2014
  4.  Subscribe via email
Hello,
Could someone tell me how I make a full width position in T3

Example: http://demo.jlvextension.com/hosting/

Did something in this style, like the part of the green banner
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Alexandre,

Please add a block in the templates/t3_bs3_blank/tpls/blocks (example: full-width.php) with the code below.

<?php
/**
* @package T3 Blank
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

defined('_JEXEC') or die;
?>

<div class="home">

<?php if ($this->countModules('home-1')) : ?>
<!-- HOME SL 1 -->
<div class="wrap t3-sl t3-sl-1 <?php $this->_c('home-1') ?>">
<div class="container">
<jdoc:include type="modules" name="<?php $this->_p('home-1') ?>" style="raw" />
</div>
</div>
<!-- //HOME SL 1 -->
<?php endif ?>
</div>


Next, load the block in the layout you want (example: default.php)

<div class="t3-wrapper"> <!-- Need this wrapper for off-canvas menu. Remove if you don't use of-canvas -->

<?php $this->loadBlock('header') ?>

<?php $this->loadBlock('mainnav') ?>

<?php $this->loadBlock('full-width') ?>

<?php $this->loadBlock('mainbody') ?>

<?php $this->loadBlock('navhelper') ?>

<?php $this->loadBlock('footer') ?>

</div>


The final step is creating module, assign to position "home-1" and please assign pages to display the module in.

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.