Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • sakari Friend
    #195376

    I 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 advance

    regards
    Sakari


    1. header-1
    2. header-2
    3. header-3
    chavan Friend
    #524973

    This 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 Friend
    #525063

    If 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 Friend
    #525082

    you site Url please

    sakari Friend
    #525085

    Website is still under construction and is located on the intranet!
    I could, if it is really necessary to upload to a free web space!

    sakari Friend
    #525294

    I once uploaded the demo!
    I have sent you via PM login!
    Thank you again! 🙂

Viewing 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