It seems there is no any problems with css you have written. There may be another side which is effecting the changes. So we request you to provide your site URL, so we can provide your exact and appropriate solution.
With our premium themes, we offer access to site documentation, video tutorials and timely support. Even if you have just started on WordPress, our support staff have the patience to help you create appealing sites gracefully.