Chelle
You can place fans on the ends, on the top, in the back, wherever you want.
They can be blowing in, exhausting out or any combination of in and out.
The key is to keep the air moving in the enclosure containing the lights, and to keep the air moving just above your water surface.
Personally .... I mount the fans in the top of the canopy, both blowing warm air out, allowing room temperature air to be pulled in the bottom, past the lamps and out the top.
Heat rises