Updating Your Theme to NationBuilder Donation V2

File Download

Clicking the button below will download a zip folder. Before uploading the files to your theme, make sure you've "unzipped" the folder so you can upload the two individual files.

Download Files


Code Block for _nm-theme.scss

@import "nm-partial-donation-v2";

Code Block for layout.html

{% if page.type_slug == "endorsement" or page.type_slug == "volunteer_signup" or page.type_slug == "event" or page.type_slug == "calendar" or page.type_slug == "feedback" or page.type_slug == "petition" or page.type_slug == "vote_pledge" or page.type_slug == "recruiting" or page.type_slug == "signup" or page.type_slug == "survey" or page.type_slug =="suggestion_box" or page.type_slug == "moneybomb" or page.type_slug == "donation" or page.type_slug == "donation_v2" %}
    {% assign action_page = true %}
    {% if page.type_slug != "event" and page.type_slug != "suggestion_box" and page.type_slug != "calendar" and page.type_slug != "recruiting" and page.type_slug != "donation_v2" %}
        {% assign full_bg_page = true %}
    {% else %}
        {% assign full_bg_page = false %}
    {% endif %}
{% else %}
    {% assign action_page = false %}
    {% assign full_bg_page = false %}
{% endif %}

Get In Touch

We are located in Austin, TX (Central Time).