Page 1 of 1

3 Column + 980x picture

Posted: Sat Nov 17, 2012 10:06 pm
by dorkiedoode
How can I have a 3 column template with a 980x banner on top?

Re: 3 Column + 980x picture

Posted: Sat Nov 17, 2012 11:49 pm
by labeshops
Haven't tested, but this should work.

Edit your template/common/home.tpl. Change it from:

Code: Select all

<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content"><?php echo $content_top; ?>
<h1 style="display: none;"><?php echo $heading_title; ?></h1>
<?php echo $content_bottom; ?></div>
<?php echo $footer; ?>
to

Code: Select all

<?php echo $header; ?><?php echo $content_top; ?>
<div id="content"><?php echo $column_left; ?><?php echo $column_right; ?>
<h1 style="display: none;"><?php echo $heading_title; ?></h1>
<?php echo $content_bottom; ?></div>
<?php echo $footer; ?>
Anything you put in content top - like a 980 width banner or slideshow - will be above your columns.

You might need to adjust the column width in your stylesheet.css to get it exactly as you want it.

Re: 3 Column + 980x picture

Posted: Sun Nov 18, 2012 6:28 am
by dorkiedoode
i thank you immensely!!

Do you know how i can get my featured products in the middle? Its currently too wide (980x) but i want it between left and right column. Also how can i make it so it shows 3/4 products in a row then 3/4 in the second row??

similar to this website. how they display the latest products

http://santoshsetty.com/octhemes/?theme=Sanstore

Re: 3 Column + 980x picture

Posted: Sun Nov 18, 2012 7:07 am
by labeshops
Latest products uses the box-products section in the stylesheet, so you are going to have to play with the settings in the stylesheet to get it to fit the way you want.

Re: 3 Column + 980x picture

Posted: Sun Nov 18, 2012 9:13 am
by dorkiedoode
what code do i look for to adjust the featured proudct? and is it in here? public_html/catalog/view/theme/default/stylesheet

*sorry this is my first website i ever built*

Do you have a donate link? thanks you helped a lot

thats what my site currently looks like but i want the featured to be right in the middle with 2 rows and 3 columns

Re: 3 Column + 980x picture

Posted: Sun Nov 18, 2012 9:06 pm
by dorkiedoode
would love some support from anyone. thank you