Guest Posted April 13, 2005 Share Posted April 13, 2005 Can anyone advise how to move the "ADD TO CART" button on the /products_new page? Would like to move the buttons ~ 2" to the left, closer towards the product description. Thank you! Link to comment Share on other sites More sharing options...
wheeloftime Posted April 14, 2005 Share Posted April 14, 2005 Can anyone advise how to move the "ADD TO CART" button on the /products_new page? Would like to move the buttons ~ 2" to the left, closer towards the product description. Thank you! <{POST_SNAPBACK}> Open your catalog/products_new.php and look for: <td align="right" valign="middle" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>'; ?></td> As you see it has a align="right" inside and you can change that to align="left" to get it closer to the description. HTH Link to comment Share on other sites More sharing options...
Guest Posted April 19, 2005 Share Posted April 19, 2005 HTH, A belated thank you. I'd like to move it even further to the left, any words of wisdom on how to accomplish? If not, I still thank you...you did help. R, NM Link to comment Share on other sites More sharing options...
wheeloftime Posted April 19, 2005 Share Posted April 19, 2005 Open your catalog/products_new.php and look for: <td align="right" valign="middle" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>'; ?></td> As you see it has a align="right" inside and you can change that to align="left" to get it closer to the description. HTH <{POST_SNAPBACK}> Well, looking at the underlying table definition there seems to be a cellpadding of 2 defined. You could set that to zero which should squeeze even more space out of it. Otherwise I can't think of something else so quickly. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.