6d finish nails are used to nail the crown to the wall. You don't need to look for the studs because you'll be able to hit the wall's top plates. If you aren't using the 16d nail trick, use 6d finish nails to nail the top of the crown.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.