You can trigger a Donorbox pop-up form using a button in Webflow, but to do so, you’ll need to use the Embed block to insert custom JavaScript provided by Donorbox. Webflow’s Button block alone does not support the JavaScript needed to launch the modal.
donate-button.js)
To match your site’s button styles:
<style> tag in the page’s header (via Page settings) or your Site settings » Custom Code » Head..dbox-donation-button class to override Donorbox’s default styles, for example:<div> and use an <a> tag with the same data-do... attributes from Donorbox, applying the Event Listener manually. This requires deeper JavaScript integration.
If you prefer to use Webflow’s Button block, you must:
id or class to the Webflow Button.
This requires understanding and modifying raw JS code, which is less beginner-friendly.
To use a Donorbox pop-up form in Webflow, you must use the Embed block to insert Donorbox’s script and HTML. Webflow’s built-in Button block does not support the necessary JavaScript functionality by itself. To match your site’s styling, override the Donorbox button’s CSS, or use custom JS to trigger the pop-up from a styled Webflow button.