Easy Digital Downloads
[resolved] Replace Purchase Button With Custom Image (2 posts)

  1. WeddingAlbumCafe
    Posted 3 years ago #

    HI I am setting up a splash page so i need the buy now button to be as pronounced as possible. I tried adding an image by altering the css file and though i was able to adjust the height i could not set a proper width so the image was truncated.

    Also I could not figure out how to remove Purchase and Checkout text.

    Ultimately I would like to have my custom image add to the cart skip the checkout page and take them right to payment.

    I would like to implement the method you've outlined here


    but i wasn't sure which function file i should add the code to. I added to my theme's function.php but it had no effect. Should i add it to the plugin's function file and if so which one?

    Thanks for any help!


  2. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 3 years ago #

    For editing the styles, I'd suggest you go to Downloads > Settings Styles and disable all included styles first. It will be much easier to edit once you've done that.

    For that function, the best thing to do is add it to a custom plugin. use Pluginception to easily create a new plugin and paste the code snippet into it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy Digital Downloads
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.