Support » Plugins » WP e-commerce Replaced "Add to Cart" button but now checkout "Purchase" overlap

  • I deleted the “Add to Cart” text in my child theme Single_Product.php and products_page.php (I do have the full coding for both saved, just in case) and replaced the image/button with my own by uploading the .png to WP media library and posting the coding into my child style.css – this worked perfectly for all of the products on my site (each product now has my custom image/button below it). But after selecting “Add to Cart” and proceeding to checkout, on that page the “Purchase” button (all the other buttons are fine) is now overlapped with the new “Add to Cart” image… so I’m wondering what I did wrong and how to fix it? If its a matter of replacing the “Purchase” button or removing my custom “Add to Cart” button from the checkout page only, how/where would I do that? I would be fine with the default “Purchase” button or can make a new custom button to replace it… any help would be much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you fix this? I have the same issue.

    Thread Starter HD1234

    (@hd1234)

    EDIT:

    After lots of fiddling I did finally fix it… just had a look at my child theme style.css and the following code is what did it:

    #content input.wpsc_buy_button{
    border:none;
    background:url(http:// PLACE IMAGE LOCATION HERE);
    display:block;
    height:56px;
    width:182px;
    font-size:0px;
    cursor:pointer;}

    #content input.make_purchase{
    background-image:url(http://PLACE IMAGE LOCATION HERE);
    background-repeat:no-repeat;
    background-position:center;
    width: 195px;
    height: 33px;
    font-size: 0px;
    text-indent:-9999px;
    cursor:pointer;}

    Also note that by adding “cursor:pointer;” it makes the buttons active – when you mouse over the pointer changes to a hand showing its active.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP e-commerce Replaced "Add to Cart" button but now checkout "Purchase" overlap’ is closed to new replies.