Forums / Templates, Stylesheets, Page Layout / How to put the banner one step down

How to put the banner one step down

Locked

Views: 1,054

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
1 Oct 2007, 8:04 AM
#1
helgera avatar

helgera

New Zenner

Join Date:
Sep 2007
Posts:
17
Plugin Contributions:
0

How to put the banner one step down

Hello!

My site is: www. nutrisport . no

  1. How can I put my banner one step down, inside the blue line?
  2. Where can I change the color of the banner? From blue to red..
  3. How do i center the banner?
  4. How can i get the banner to not have that high width, I want it to be the same width as the footer...same width as the page...

Hope someone can help me!


<?php /** * Atheme Template - tpl_footer.php * * this file can be copied to /templates/your_template_dir/pagename * example: to override the privacy page * make a directory /templates/my_template/privacy * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_footer.php * to override the global settings and turn off the footer un-comment the following line: * * $flag_disable_footer = true; * * @package templateSystem * @copyright Copyright 2007 iChoze Internet Solutions <http://ichoze.com> * @copyright Portions Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: tpl_footer.php 4821 2006-10-23 10:54:15Z drbyte $ */ require(DIR_WS_MODULES . zen_get_module_directory('footer.php')); ?> <?php if (!isset($flag_disable_footer) || !$flag_disable_footer) { ?> <!--bof-navigation display --> <div id="navSuppWrapper"> <div id="navSupp"> <ul> <?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?> <li><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?></li> <?php } ?> </ul> </div> </div> <!--eof-navigation display --> <!--bof-banner #5 display --> <?php if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) { if ($banner->RecordCount() > 0) { ?> <div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div> <?php } } ?> <!--eof-banner #5 display --> <?php } // flag_disable_footer ?>
1 Oct 2007, 8:10 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: How to put the banner one step down

You would do all of those things in your stylesheet. They're all fairly easy changes. If you're not used to dealing with CSS and stylesheets, I'd recommend a visit to https://www.w3schools.com/css/

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

1 Oct 2007, 8:22 AM
#3
helgera avatar

helgera

New Zenner

Join Date:
Sep 2007
Posts:
17
Plugin Contributions:
0

Re: How to put the banner one step down

Ok, thanx for the link.

But do you know what to change in the file i pasted, so the logo is into the blue banner?

1 Oct 2007, 8:37 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: How to put the banner one step down

The blue bar is just a background to the search and cart information which you have turned off. Rather than moving you logo into an inappropriate place, it would be more normal to give it its own background, which again, you would do in the stylesheet.

You may then want to swap the order of the tagline and logo wrappers which you would do, not in the file you posted, but in your includes/templates/iC_AthemeV1.3/common/tpl_header.php

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

1 Oct 2007, 8:59 AM
#5
helgera avatar

helgera

New Zenner

Join Date:
Sep 2007
Posts:
17
Plugin Contributions:
0

Re: How to put the banner one step down

Thanx man!

Follow up question here...

Where do I cange what to view on the front page? Like, if I don`t want the "New products for october" to be viewed...

http://nutrisport.no/index.php?main_page=index&language=en

1 Oct 2007, 9:02 AM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: How to put the banner one step down

The settings are controllable via Admin > Configuration > Index Listing

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)