• Resolved diegoboro

    (@diegoboro)


    Hi,
    I’m using Give and found that the Button that is added on the page does not have an ID that I can reference.
    for a shortcode like:

    [give_form id=”718″ display_style=”button” continue_button_title=”Donate!”]

    The generated html is:

    <button type=”button” class=”give-btn give-btn-modal”>Donate!</button>

    I was expecting the button to have some ID like:
    id=”give_button_718″
    or let me add an ID to the shortcode

    thanks.

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

    (@webdevmattcrom)

    Hi @diegoboro — each individual form has a unique ID so we can target any element within the form based on that. So if you’d like to style a specific form in a specific way you could do something like this:

    form#give-form-123 input.give-submit {
        background: #68bb6c
    }

    Hopefully that points you in the right direction. Let me know if you have other questions at all. Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Donation Button ID or Name?’ is closed to new replies.