Post by dorkiedoode » Sat Nov 17, 2012 10:06 pm

How can I have a 3 column template with a 980x banner on top?

Newbie

Posts

Joined
Fri Nov 16, 2012 4:34 am

Post by labeshops » Sat Nov 17, 2012 11:49 pm

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.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by dorkiedoode » Sun Nov 18, 2012 6:28 am

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
Last edited by dorkiedoode on Sun Nov 18, 2012 7:08 am, edited 1 time in total.

Newbie

Posts

Joined
Fri Nov 16, 2012 4:34 am

Post by labeshops » Sun Nov 18, 2012 7:07 am

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.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by dorkiedoode » Sun Nov 18, 2012 9:13 am

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
Last edited by dorkiedoode on Fri Nov 23, 2012 4:19 pm, edited 1 time in total.

Newbie

Posts

Joined
Fri Nov 16, 2012 4:34 am

Post by dorkiedoode » Sun Nov 18, 2012 9:06 pm

would love some support from anyone. thank you

Newbie

Posts

Joined
Fri Nov 16, 2012 4:34 am
Who is online

Users browsing this forum: No registered users and 15 guests