can you try oiling or greasing the latch? what year is your car? do you have the prop rod?
Or if you have the struts, maybe they aren't working right when its cold and don't go in all the way making it look like its not closing right?
good luck....if you press down on the hood can you get it to close?