I've been working on my first OS-Commerce website, and I managed to figure out how to customize the look and functionality of most of the site, that is until I wanted to customize the CSS style of only the 'Add to Cart' button on the product information page. In this case, I would like to increase padding and change the background and font color - although after looking at the code, I have no clue as to how I should go about it.
Currently, I have this as the code for my 'Add to Cart' button on the Product Information page (catalog/product_info.php)
<span id="buttonAction"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_draw_button(IMAGE_BUTTON_IN_CART, 'cart', null, 'primary'); ?></span>
I realize that buttons can be customized with Themeroller, but as far as I know that would affect all the buttons on the website, and I want to customize only the 'Add to Cart' button on the product information page.
I tried following fox2p's instructions on this thread, but to no avail.
I'm pretty competent when it comes to HTML and CSS although my Javascript and PHP knowledge leaves much to be desired - I am working on it though!
Any help would be greatly appreciated!
Thanks,
Dru










