I'm new here and not sure if my post earlier was eaten or what

Anyway,I haven't had luck with hats in the past..the one I tried has been sitting 2-3 years
I'm trying to make a baby hat atm..the pattern says to use size 8 needles but the yarn I bought says to use 10 with it. Do I still cast on 54 stitches like the pattern says or just cast on until I get to 11"? I'm using the pattern from Bev's Country Cottage.(The forum won't let me link)
If my other post shows up too..sorry
Thanks for any help
