To turn it off for a folder and everything in it, right-click on the folder:
To change the default for all files (but not necessarily the settings for them), click on the Dropbox menu bar icon, click on top-right icon (my image in my case), then preferences, then sync, and here’s the setting:

