My tried and true method of giving pills is as follows...........

sit on the floor, because when you put your feet flat and knees up, there is a perfect "V" in which to cradle kitty.

Put kitty on its back laying across your lap.

Have pill in your favored hand, and your other hand on top of kittie's head.

Move the hand off the head and to the side of the mouth to pry open. Stick thumb or finger right behind the canine tooth and the mouth should open. Top of head should go back.

Drop or place pill in VERY BACK of throat. Close mouth.

With practice, you will almost never miss.