• Resolved danielfarinha

    (@danielfarinha)


    Hello,

    Is it possible to hide the raised amount on this page?
    We want to enable offline donations where the donors are able to give the amount they want without registering the total sum and we don’t want to give visibility to everyone about that number.
    We are okay with using a dummy 1 dollar during the donation form but that will replicate directly the number of donors and the value on this UX.

    Anything that I can do using CSS? Is there any feature already in place?

    Image: https://ibb.co/fpKjqwj

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Rick Alday

    (@mrdaro)

    Hi @danielfarinha,

    You can hide those elements with this snippet:

    function override_form_template_styles_with_inline_styles() {
        wp_add_inline_style(
            'give-sequoia-template-css',
            '
            .introduction .income-stats .raised {
        display: none;
    }
            '
        );
    }
    
    add_action('wp_print_styles', 'override_form_template_styles_with_inline_styles', 10);

    If you need assistance implementing custom PHP code on your website we have this guide:

    https://givewp.com/documentation/resources/adding-custom-functions-to-your-wordpress-website/

    Please note that this code snippet is provided as an example of how you can extend GiveWP with code. It’s up to you to implement and customize to your liking. We cannot provide support for custom code on your website, only the code that we create and distribute.

    Plugin Support Rick Alday

    (@mrdaro)

    Hi,

    Just following up here.

    Did you still need help here?

    I’m happy to help and look into this further for you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove/Hide Raised Amount’ is closed to new replies.