What is a good way to attach vent covers to ceiling vents in my basement?
You have the wrong register cover for a ceiling. The one you have is a floor register, it just sits in place. You need a register like this one that screws into the ceiling.


This will also distribute the heat more evenly.