One easy solution is to purchase a heavy-duty metal floating shelf bracket, like this one from Sheppard Brackets, which can ...
I lined up the shelf below the metal bits, lifted it to touch the hooks, and pulled it down gently over them. Voila! A new floating shelf and (almost) no tools involved. After adding a few novels ...