Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / New product listing text alignment issue

New product listing text alignment issue

Locked

Views: 2,204

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
5 May 2007, 1:21 PM
#1
jeffreytcs31 avatar

jeffreytcs31

New Zenner

Join Date:
May 2007
Posts:
4
Plugin Contributions:
0

New product listing text alignment issue

Hi,

I have setup my store **www.discuszone.com** and the new product listing is showing 3 product per row, the product name, pricing text are appearing at Right of the product image. However, I would like the product name, pricing and the buy now button to appear at bottom part of the image and align center like this web site **www.fishtradezone.com**

can anybody help to guide me what to do to make this chanegs in the text layout issue.

Thanks so much for your help.
[IMG]http://www.zen-cart.com/forum/images/ZCgreen/buttons/report.gif[/IMG]

5 May 2007, 8:38 PM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: New product listing text alignment issue

jeffreytcs31:

Hi,

I have setup my store **www.discuszone.com** and the new product listing is showing 3 product per row, the product name, pricing text are appearing at Right of the product image. However, I would like the product name, pricing and the buy now button to appear at bottom part of the image and align center like this web site **www.fishtradezone.com**

can anybody help to guide me what to do to make this chanegs in the text layout issue.

Thanks so much for your help.
[IMG]http://www.zen-cart.com/forum/images/ZCgreen/buttons/report.gif[/IMG]

You appear to be using the "Monthly Designer Boxes" mod.

The default setting(s) for those boxes is to put the text to the right.

You can change this by opening
includes/modules/YOUR_TEMPLATE/new_products.php

Find the following code:

<?php
/**
 * new_products.php module
 *
 * @package modules
 * @copyright 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: new_products.php 4629 2006-09-28 15:29:18Z ajeh $
 */

//--------------------------------------
$side_of_text = 1;  <-- Change this to zero
// 0 -> text below, image above
// 1 -> text on right, image on left
// 2 -> text on left, image on right
//--------------------------------------

Make the change as indicated in red.

save the file and upload to your server.

6 May 2007, 10:13 AM
#3
jeffreytcs31 avatar

jeffreytcs31

New Zenner

Join Date:
May 2007
Posts:
4
Plugin Contributions:
0

Re: New product listing text alignment issue

Thanks so much.....

really appreaciate it.......:clap: :clap: :clap:

6 May 2007, 4:45 PM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: New product listing text alignment issue

jeffreytcs31:

Thanks so much.....

really appreaciate it.......:clap: :clap: :clap:

glad to help