Change color and place of buy button
-
Hi, im using woocommerce and just added some code to get a button, i added the button to my page with this code:
add_action(‘woocommerce_after_shop_loop_item’,’replace_add_to_cart’);
function replace_add_to_cart() {
global $product;
$link = $product->get_permalink();
echo do_shortcode(‘View Product’);
}i want to change the color of the button and move it up beside the price, see picture: http://sv.tinypic.com/r/mtbhpi/9
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Change color and place of buy button’ is closed to new replies.