• Resolved sudeys

    (@sudeys)


    Hello,
    I would like to use my own images as a button.

    Because, your button size itself according to button text. I want to put few buttons above and below each other and want to use same flat style image button.

    Is it possible sir/madam

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    You can do that with some custom CSS, just by doing something like this:

    button.give-btn-modal {
        background: url('https://example.com/wp-content/uploads/your-image.jpg');
        overflow: hidden;
        text-indent: -200px;
    }

    Naturally, you’ll probably need to add height and width to get it to the right size for your image. The overflow and text-indent are what force the text of the button to be hidden.

    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘donate button customization’ is closed to new replies.