media queries ignored in bootstrap


I am writting a media query style and it is being ignored.

Please see attached image which shows both the style and width of the screen. The screen width is 970 px, my style is everything under 992 px should use my new font sizes, but they are being ignored.

@media only screen and (max-width : 992px){
.banner H1 {

.banner p {
a.banner-phone, a.banner-phone:active, a.banner-phone:link, a.banner-phone:visited {
   font-size: 24px;


Open in new window

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Tom BeckCommented:
It is working. For every screen less than 992px wide, the font-size is reduced to 32px for <h1> tags in the banner. <p> tags are reduced to 22px.
Media Query
jblayneyAuthor Commented:
Thanks for taking a look.

Sorry, you are reading the screen shot wrong, that isn't firebug with the sizes, that is a screen shot of my CSS page in dreamweaver.

If you use firebug you will see that it isn't working, it stays at 36 pixels until I get to about 700 px wide
Tom BeckCommented:
My screenshot is from Firebug and my screen size was 982px wide.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

jblayneyAuthor Commented:
Your right I see that now, but my screen size is 970, and it is still 36px

I also tested on chrome and safari and got the same results. if you look at my original file it shows the width at 970

If you messure the attached in photoshop, the container width is 970px as well
jblayneyAuthor Commented:
the key is the phone number and icon, if I set that width to default font-size to 24 pixels, it will never wrap as it is in the screenshot, it only wraps if screen is 970 and font size is 30 pixels
Tom BeckCommented:
What are you using to check your browser width because I'm not getting the margins on the left and right of the banner when I'm at 992px wide that I see in your screen shot?  Measuring in Photoshop I would not trust.

I'm using

Your header container has a max-width of 1170px. If you were truly at 970px in that screenshot you would not have spaces to the left and right of your header and menu.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jblayneyAuthor Commented:
That website you sent is perfect, thank you. I am using container sizer as screen size
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.