-
AuthorPosts
-
sakari Friend
sakari
- Join date:
- February 2009
- Posts:
- 171
- Downloads:
- 111
- Uploads:
- 79
- Thanks:
- 43
- Thanked:
- 15 times in 1 posts
March 2, 2014 at 8:35 pm #195376I need a new module position in the template!
I want to insert a picture on the entire screen width!
Please take a look at the screenshots!
The first image shows how it looks like normally and the second image shows how I want!The new module position can be named “header-image”.
Would go something like that, if so, who can help me! 🙂Edit: The insert with the new module I have in there now.
But have a problem with distance between Haeder image and main body (see picture)
How can I reduce the gap between?
I have inserted it here!
/templates/ja_fixel/tpls/default.php
<?php
/**
*------------------------------------------------------------------------------
* @package T3 Framework for Joomla!
*------------------------------------------------------------------------------
* @copyright Copyright (C) 2004-2013 JoomlArt.com. All Rights Reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @authors JoomlArt, JoomlaBamboo, (contribute to this project at github
* & Google group to become co-author)
* @google group: https://groups.google.com/forum/#!forum/t3fw
* @link: http://t3-framework.org
*------------------------------------------------------------------------------
*/defined('_JEXEC') or die;
?><!DOCTYPE html>
<!--> <html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" class="ie8 lt-ie9 lt-ie10 <?php $this->bodyClass(); ?>"> <!-->
<!--> <html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" class="ie9 lt-ie10 <?php $this->bodyClass(); ?>"> <!-->
<!--><!--> <html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" class="<?php $this->bodyClass(); ?>"> <!--<!--><head>
<jdoc:include type="head" />
<?php $this->loadBlock ('head') ?>
</head>
<br /><br /><br /><br />
<jdoc:include type="modules" name="header-image" />
<body><?php $this->loadBlock ('header') ?>
<?php $this->loadBlock ('mainbody') ?>
<?php $this->loadBlock ('footer') ?>
<?php $this->loadBlock ('popup') ?>
</body>
</html>
Many thanks in advanceregards
Sakari- chavan Friend
chavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
March 3, 2014 at 3:20 am #524973This thread would help you create a New Module position
http://www.joomlart.com/forums/topic/how-to-create-new-module-position-updated/
Note: Also as per your code the jdoc is above HEAD Tag, it should be after body tag. I think by removing these <br /><br /><br /><br /> you can achieve removing the space.
Post your site Url
sakari Friendsakari
- Join date:
- February 2009
- Posts:
- 171
- Downloads:
- 111
- Uploads:
- 79
- Thanks:
- 43
- Thanked:
- 15 times in 1 posts
March 3, 2014 at 9:42 am #525063If I remove the ” <br /><br /><br /><br /> “, my header image at half displayed because it is covered from the top menu.
Thanks again for your help! 🙂
____________________________________________________
** Website is still under construction and is located on the intranet!chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
March 3, 2014 at 11:10 am #525082you site Url please
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by sakari 10 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum