I have managed to work it out. I think there was a conflict between the theme and W3 Total Cache and Image Optimization plug in. After deactivating both W3 Total cache and Image optimization plugins, my site came back to normal. I will now find out from the theme author why the theme is in conflict with these plugins.