• Resolved Codyk

    (@codyk)


    Hi,
    This might be a very simple question, but I don’t much about code outside of basic HTML…
    Is there an easy way to customize the size of the add to cart/purchase button? I have all of my products in a table and when I add the button it makes the rows a little larger than I want.
    Also, what is the easiest way to test a product for email, links, ect.

    Thanks in advance!

    http://wordpress.org/extend/plugins/easy-digital-downloads/

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Contributor Pippin Williamson

    (@mordauk)

    In what ways do you want to customize it? Do you want to only increase/decrease the size, or do you want to completely alter the way it looks?

    The easiest way to test a purchase for emails to do a couple of things:

    1. In Downloads > Settings > General, enable “Test Mode”.

    2. Use the “Manual Payment” gateway to do a test purchase (no money will be processed, but all aspects of the sale will act normally).

    Thread Starter Codyk

    (@codyk)

    Thanks for the reply,
    Right now I just want to adjust the size of the button, although it would be cool to be able to add custom images in the future.

    Plugin Contributor Pippin Williamson

    (@mordauk)

    How comfortable are you with CSS?

    Thread Starter Codyk

    (@codyk)

    I’ve only used it a couple times when reading tutorials.

    Plugin Contributor Pippin Williamson

    (@mordauk)

    Try adding this to your theme’s style.css:
    .edd_button_text { font-size: 16px; }

    Change 16px to the size that works well for you.

    Thread Starter Codyk

    (@codyk)

    Does is matter where I put it? I tried a few locations but nothing happened.

    Plugin Contributor Pippin Williamson

    (@mordauk)

    No, it shouldn’t. Try:
    .edd_button_text { font-size: 16px!important; }

    Thread Starter Codyk

    (@codyk)

    Still nothing. I’ve been pasting it in and changing the number, updating the file, then refreshing my page that has the buttons on it. Should I be doing it a different way?

    Plugin Contributor Pippin Williamson

    (@mordauk)

    Can you give me a live URL to look at?

    Thread Starter Codyk

    (@codyk)

    Yes, I moved the button up a little so the table doesn’t stretch out as much, and I’m trying out the text only feature.

    http://anarchistbeats.com/

    Plugin Contributor Pippin Williamson

    (@mordauk)

    Try this instead:
    .edd_download_purchase_form input[type="submit"] { font-size: 16px; }

    Thread Starter Codyk

    (@codyk)

    Still Nothing.

    Thanks for all the help!

    …But I think I might just use the text or see what my page looks like with buttons for everything.

    Plugin Contributor Pippin Williamson

    (@mordauk)

    I was able to change the font size no problem on the site using the Chrome Inspector, so you must not be placing it in the right place.

    Where are you putting it?

    Thread Starter Codyk

    (@codyk)

    Stylesheet (style.css)
    I’ve tried putting it at the beginning, the end, and moving it around in other places.

    Plugin Contributor Pippin Williamson

    (@mordauk)

    Are you using a child theme?

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[Plugin: Easy Digital Downloads] Customizing Button’ is closed to new replies.