Images not shrinking in mobile

dev2.magickitchen.com

Hi, please scroll down the page to the section below Information About Us. The images there (and actually the H4 code there ) don't shrink on a mobile page. Other images in the site shrink appropriately, but I'm not sure why these do not.


Thanks for your assistance.
mel200Asked:
Who is Participating?
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:
I think you will have to target those specifically using media queries:
@media screen and (max-width: 768px) { /* tablet size devices */
	div.offer-box h4 { font-size: 14px }
}
@media screen and (max-width: 340px) { /* phone size devices */
	div.offer-box h4 { font-size: 12px }
}

Open in new window

Adjust as desired.
0

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
mel200Author Commented:
I don't know why I don't come to you experts first instead of banging my head against a wall. Thanks, works perfectly!
0
Tom BeckCommented:
Glad it worked. Thanks for the points.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
You are using bootstrap css and that option is available without adding anything anything new.  Simply add the class, "img-responsive" to your image.  http://getbootstrap.com/css/#images

<img src="..." class="img-responsive" alt="Responsive image">

Open in new window

0
Tom BeckCommented:
The elements in question were not images. They were <h4> tags.
0
mel200Author Commented:
I had img-responsive, but it wasn't working.  Tom's solution works. Thanks.
0
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
CSS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.