Home arrow Forum I can't position banner module correctly.
  Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 12:47:03 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Addon Discussion
| |-+  Joomla Templates
| | |-+  I can't position banner module correctly.
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: I can't position banner module correctly.  (Read 2624 times)
scott
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
I can't position banner module correctly.
« on: March 18, 2011, 06:14:06 AM »

You can see it here in this image-




Uploaded with ImageShack.us

I need it down and if possible to the right a bit. The code looks like this -

Code:
<?php if ($this->countModules('banner')) { ?>
             <div class="float" id="banner">     
                 <jdoc:include type="modules" name="banner" />
              </div>
             <?php ?>
     

So I am not sure where I am going wrong. Please help.
Logged
Editor in Chief
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1171



View Profile WWW
Re: I can't position banner module correctly.
« Reply #1 on: March 21, 2011, 12:52:05 AM »

What is "float" class in your template css file?
You need to put the whole code so we can help you.
Logged
scott
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: I can't position banner module correctly.
« Reply #2 on: March 24, 2011, 07:54:33 AM »

Quote
/* Set some default styles for Float, Width */
.floatleft { float:left; }
.floatright { float:right; }

.width16  { width: 15%; }
.width20  { width: 20%; }
.width25  { width: 23.5%;}
.width33  { width: 32.2%;}
.width50  { width: 49.2%;}
.width75  { width: 74.5%;}
.width100 { width: 99%;}

(general.css)
Logged
scott
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: I can't position banner module correctly.
« Reply #3 on: March 24, 2011, 08:13:46 AM »

I can't modify my post  Huh anyway, here's the full code for the page.

Code:
<?php
//  @copyright Copyright (C) 2008 - 2009 IceTheme. All Rights Reserved
//  @license Copyrighted Commercial Software 
//  @author     IceTheme (icetheme.com)

// no direct access
defined'_JEXEC' ) or die( 'Restricted access' );

// Include PHP files to the template
include_once(JPATH_ROOT "/templates/" $this->template '/icetools/default.php');
include_once(
JPATH_ROOT "/templates/" $this->template '/icetools/switcher.php');
?>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language?>" lang="<?php echo $this->language?>" dir="<?php if ($this->direction == 'rtl' or $Lang_Direction == "rtl") : ?>rtl<?php elseif ($this->direction == 'ltr' or $Lang_Direction == "ltr") : ?>ltr<?php endif; ?>" class="<?php echo IceTemplateHelper:: cssBrowserSelector() ?>">

<head>

<jdoc:include type="head" />

<?php
// Include CSS variables 
include_once(JPATH_ROOT "/templates/" $this->template '/css_vars.php');

?>


</head>

<body class="<?php echo IceTemplateHelper::renderClassUserTools();?>">

<!-- Accessibility -->
<ol id="accessibility">
    <li><a href="#main-nav_wrap">Skip to Menu</a></li>
    <li><a href="#content">Skip to Content</a></li>
    <li><a href="#footer" >Skip to Footer></a></li>
</ol><!-- Accessibility -->


<!-- Site Wrapper -->
<div id="site_wrapper">
       
<!-- Header -->
<div id="header">
         
<div class="wrapper"> 
               
           
            <?php if ($this->countModules('logo')) { ?>
             <div class="floatleft" id="logo">     
                 <jdoc:include type="modules" name="logo" />
              </div>
             <?php ?>
           
<?php if ($this->countModules('banner')) { ?>
             <div class="float" id="banner">     
                 <jdoc:include type="modules" name="banner" />
              </div>
             <?php ?>
     
            <?php if($this->params->get('showdate')) : ?>
            <div class="floatright" id="icedate">
                <?php echo JHTML::_('date''now'JText::_('DATE_FORMAT_LC')) ?>
            </div>
            <?php endif; ?> 
           
            <?php if ($this->countModules('topmenu')) { ?>
             <div class="floatright" id="topmenu">
              <jdoc:include type="modules" name="topmenu" />
            </div>
            <?php ?>
             
<?php if ($this->countModules('search')) { ?>     
            <div class="floatright" id="searcharea">
              <jdoc:include type="modules" name="search" />
            </div>
            <?php ?>   
             
                   
</div>
               
    </div><!-- Header -->  
   
   
<?php if ($this->countModules('mainmenu')) { ?>
<!-- Main Nav -->
    <div id="nav-wrapper">
       
        <div class="wrapper">
       
            <div id="nav_container">
           
<jdoc:include type="modules" name="mainmenu" />
           
</div>
         
</div>
               
</div><!-- Main Nav --> 
<?php ?> 
               
               

<!-- Content -->
<div id="content">

<div id="content-box_t"></div>
           
<div id="content-box_b"> 
           
<div id="content-box_container" class="clearfix">     
                 

   <?php if ($this->countModules('breadcrumb')) { ?>
                        <div id="breadcrumb">
                            <jdoc:include type="modules" name="breadcrumb" />
                        </div>
                        <?php ?>

<?php if ($this->countModules('icetabs')) { ?>
                        <!-- IceTabs -->       
                        <div id="icetabs" class="clearfix">
                       
                            <jdoc:include type="modules" name="icetabs" />
                                     
                        </div><!-- IceTabs -->
                        <?php ?>


<?php if ($this->countModules('promo1 + promo2 + promo3')) { ?>
                         <!-- Promo -->       
                        <div id="promo" class="clearfix">
                       
<?php if ($this->countModules('promo1')) { ?>
                            <div class="<?php echo $promomodulewidth?> <?php echo $promomodsep1?> floatleft">
                                <jdoc:include type="modules" name="promo1" style="block"  />
                            </div>
                            <?php ?>
                            <?php if ($this->countModules('promo2')) { ?>
                            <div class="<?php echo $promomodulewidth?> <?php echo $promomodsep2?> floatleft">
                                <jdoc:include type="modules" name="promo2" style="block"  />
                            </div>
                            <?php ?>
                            <?php if ($this->countModules('promo3')) { ?>
                            <div class="<?php echo $promomodulewidth?> <?php echo $promomodsep3?> floatleft">
                                <jdoc:include type="modules" name="promo3" style="block"  />
                            </div>
                            <?php ?>
                                     

                        </div><!-- Promo -->
                        <?php ?>

         
                   
<!-- Columns Container -->   
<div id="columns-container">

<div id="outer-column-container">
                   
<div id="inner-column-container" class="clearfix">
               
<div id="source-order-container">
                                           
                 
                    <!-- Middle Column -->   
                    <div id="middle-column">
                                                       
                        <div class="inside">
                                                   
                            <jdoc:include type="message" />
               
                            <jdoc:include type="component" />
                                                                         
                        </div>
                     
                    </div><!-- Middle Column -->         
             
                                                           
                    <?php if ($this->countModules('left')) { ?>
                    <!-- Left Column -->
                    <div id="left-column">
                                 
                        <div class="inside">
                                               
                            <jdoc:include type="modules" name="left" style="colmodule"  />
                                                                                         
                        </div>   
                                     
                    </div> <!-- Left Column -->
           
                    <div class="clear-columns"></div>
                    <?php ?>
                       

                </div><!-- Source Order Container -->
                             
                                                         
                <?php if ($this->countModules('right')) { ?>
                <!-- Right Column -->
                <div id="right-column">
                                   
                    <div class="inside">
                       
                        <jdoc:include type="modules" name="right" style="colmodule"  />
                           
                     </div>
                     
                 </div><!-- Right Column -->
                 
                 <div class="clear-columns"></div>
                <?php ?>
               
                                                               
                               
            </div>
   
        </div>
                               
    </div><!-- Columns Container -->
   
   
   
   
    <?php if ($this->countModules('bottom1 + bottom2 + bottom3')) { ?>
    <!-- Bottom -->
<div id="bottom" class="clearfix">

                 
<?php if ($this->countModules('bottom1')) { ?>
        <div class="<?php echo $botmodwidth?> <?php echo $botmodsep1?> floatleft">
            <jdoc:include type="modules" name="bottom1" style="block"  />
        </div>
        <?php ?>
        <?php if ($this->countModules('bottom2')) { ?>
            <div class="<?php echo $botmodwidth?> <?php echo $botmodsep2?> floatleft">
                <jdoc:include type="modules" name="bottom2" style="block"  />
            </div>
        <?php ?>
        <?php if ($this->countModules('bottom3')) { ?>
            <div class="<?php echo $botmodwidth?> floatleft">
                <jdoc:include type="modules" name="bottom3" style="block"  />
            </div>
        <?php ?>
                                   

    </div>
    <!-- Bottom -->     
    <?php ?>         
       
       
                 
</div>
                                   
</div>                         

    </div>
<!-- Content -->                                           
                                                       

                                                       
                             
   
<?php if ($this->countModules('footer1 + footer2 + footer3 + footer4 + footer + footermenu') or $this->params->get('icelogo')) : ?>
    <!-- Foooter -->
    <div id="footer">
       
        <div class="wrapper">
       
           <?php if ($this->countModules('footer1 + footer2 + footer3 + footer4')) { ?>
           <div class="moduleswrap">

<?php if ($this->countModules('footer1')) { ?>
                <div class="<?php echo $footermodulewidth?> <?php echo $footermodsep1?> floatleft fixmodule">
                    <jdoc:include type="modules" name="footer1" style="footer"  />
                </div>
                <?php ?>
                <?php if ($this->countModules('footer2')) { ?>
                <div class="<?php echo $footermodulewidth?> <?php echo $footermodsep2?> floatleft fixmodule">
                    <jdoc:include type="modules" name="footer2" style="footer"  />
                </div>
                <?php ?>
                <?php if ($this->countModules('footer3')) { ?>
                <div class="<?php echo $footermodulewidth?> <?php echo $footermodsep3?> floatleft fixmodule">
                    <jdoc:include type="modules" name="footer3" style="footer"  />
                </div>
                <?php ?>
                <?php if ($this->countModules('footer4')) { ?>
                <div class="<?php echo $footermodulewidth?>  floatleft fixmodule">
                    <jdoc:include type="modules" name="footer4" style="footer"  />
                </div>
                <?php ?>
             
             </div>
             <?php ?>
               
           
<?php if ($this->countModules('footer + footermenu') or $this->params->get('icelogo')) : ?>
            <!-- Copyright --> 
            <div id="copyright">
                       
                    <?php if($this->params->get('icelogo')) { ?>
                     <p id="icelogo" class="floatleft"><a href="http://www.icetheme.com"><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/icetheme.png"  alt="<?php echo JText::_("ICETHEMECOPY");?>" /></a></p>
                    <?php ?>
                   
                     <?php if ($this->countModules('footer')) { ?>
                    <div id="copytext" class="floatleft">
                    <jdoc:include type="modules" name="footer" />
                    </div>
<?php ?>
                   
                      <?php if ($this->countModules('footermenu')) { ?>
                     <div id="footermenu" class="floatright">
                         <jdoc:include type="modules" name="footermenu" />
                     </div>
                     <?php ?>
                     
                     
                   
                   
                 
            </div><!-- Copyright -->
    <?php endif; ?>   

    </div>
     
</div><!-- Foooter -->
    <?php endif; ?>   
   

</div><!-- Site Wrapper --> 
 
<?php if( $this->params->get('usertools',1) ): ?>
<?php  echo IceTemplateHelper::renderPanelUserTool'''top' ); ?>
<?php endif; ?>

</body>
</html>
Logged
scott
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: I can't position banner module correctly.
« Reply #4 on: March 25, 2011, 06:33:03 AM »

Sorry, you can see it in this picture.

Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use







Joomla Hacks German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
About Advertise Register Login