Forums / Templates, Stylesheets, Page Layout / New Products Margins on index

New Products Margins on index

Locked

Views: 991

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
4 Nov 2006, 7:01 PM
#1
digitalrust avatar

digitalrust

New Zenner

Join Date:
Nov 2006
Posts:
13
Plugin Contributions:
0

New Products Margins on index

I'm having trouble figuring out how to create some margins for the new products items on the index page of a site I'm building.

http://www.1224design.com/aura/

I've found new_products.php and the line of code:

$list_box_contents[$row][$col] = array('params' => 'class="centerBoxContentsNew centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',

So that's what generates the % based on how many columns there are. As soon as I add margins to .centerBoxContentsNew then it jacks the width and doesn't display correctly.

Am I missing something obvious?

Thanks!

4 Nov 2006, 11:01 PM
#2
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: New Products Margins on index

It may fix by css, for general info, please refer to the Page 2 of the topic new/featured Columnar layout help.

The same concepts also apply to the columnar display of the New Products, Special Products, Feature Products and Column Grid Mod.

A New Starter again