HomeHome Product Discus... Product Discus...SmithCartSmithCartDecrease Space between Product Description and Add to Cart ButtonDecrease Space between Product Description and Add to Cart Button
Previous
 
Next
New Post
12/30/2010 1:08 PM
 

Please see the attaced graphic for this question. I want to know if there is a way to decrease the space between the product description, price and Add to Cart button, as well as the margins on the left and right side of the module. Not sure if this is something specific to the Smith Cart or a change that has to be made to our dnn code.

As well, changing the spacing above and below each product would be helpful, this way I could squeeze more products together. I understand that this also may affect the image that is placed here as well, is there a way to change what dimensions this image has set? Specifically the height (width would ideally need to be changed as well to constrain proportions)

Thanks,

 
 Login to download attachment
New Post
12/30/2010 1:45 PM
 

To change the spacing between the columns open up the productlist.ascx and go to line 52 and you will see the following:

<col width="1%" />
<col width="20%" />
<col width="45%" />
<col width="3%" />
<col width="15%" />
<col width="15%" />

I highlighted the col width property that you need to change to descrease the space between the add to cart button. The product list is layed out using an html table so you can adjust any other spacing or formating you like to work with your skin.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
12/30/2010 2:11 PM
 

Is there a different .ascx file for Internet Explorer? In Firefox and Chrome I see that the spacing between everything is almost perfect, but in Internet explorer its goofy.

 
New Post
12/30/2010 2:15 PM
 

No there are not different ascx pages for the different browsers.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
1/2/2011 6:04 PM
 
wired137 wrote:

Is there a different .ascx file for Internet Explorer? In Firefox and Chrome I see that the spacing between everything is almost perfect, but in Internet explorer its goofy.

Internet Explorer often renders things a little differently. They're not as compliant as Firefox.

The easiest way that I've found to figure out what is going on is to put a border=1 in my table tag, so I can actually see what the table is doing and so forth.

Also, use something like Firebug to see what stylesheets are being applied, and make sure that all of the closing tags and so forth are there.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartDecrease Space between Product Description and Add to Cart ButtonDecrease Space between Product Description and Add to Cart Button