The bottom of each page on a website using a NationBuilder public theme includes a section that says "Do you like this page?" along with Facebook, Twitter and Google+ (Google Plus) like icons. Normally you would have to delete them from the template of each page (or page template) individually, but this trick makes it easy to do it all at once with one line of code.
1. Make sure that you are using a custom theme instead of a stock theme.
2. Navigate to the Theme.scss file of your theme by going into your control panel and clicking Website(s) > Theme > Theme.scss.
3. Scroll all the way to the bottom of this Theme.scss file and add the following code:
Complete and current information on how to use NationBuilder is available in the documentation section.
Showing 5 reactions
Sign in with