There are several valid points here, and one that hasn't been made, but to bring down to a simple plan of action...
1. Check your focus point, and set it centre, and mode to one-shot, if they're not already. If you are full-auto focus mode it will always choose the closest or moving object.
2. Test your lens at f/1.8. Stand off at about 45-degree angle from a brick wall or similar flat surface with definite detail. Using that centre point (little red-light dot in viewfinder), focus on a point that you will remember -- the corner of a certain window, or the spot just next to a certain feature of the flat surface. Do this in bright enough light that camera-shake is not an issue (shutter sped of 1/200th or faster would be good).
Look at the picture -- the target should be in perfect focus. Focus should decrease rather quickly closer than the target and more gradually past it. For example if you use a brick wall and the target is clear, you might get about two bricks in front of it and four behind it before a certain level of blur is reached. If you don't get this pattern, the lens is mis-focusing. Try more than one shot from a few angles on a few subjects to be sure.
3. As the other posters said, use a much smaller aperture for a car show. On a bright day, I will rarely switch away from f/16 at a car show except for specific desired effects.