Place code in Custom CSS on Website Template
The code does say :In your NextGEN Gallery Settings go to “Other Settings” > “Styles” > “Enable Custom CSS” and paste the following code:
But I found it only works if you place it in the Template Custom CSS Section