Solved

bootstrap fails in mobile version

Posted on 2014-02-27
4
288 Views
Last Modified: 2014-02-28
site fails in mobile phone version.  The background disappears, the fonts are wrong, etc.  What did I do?

Beta
http://nsitedesigns.com/nsitedesigns/wiplastic_scott/rfq.html

screenshot
http://nsitedesigns.com/nsitedesigns/wiplastic_scott/rfq.html
0
Comment
Question by:nsitedesigns
  • 3
4 Comments
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39893535
Do you see where you have
@media (min-width: 769px)
h1 {
color: #363;
font-weight: normal;
padding-left: 30px;
font-size: 2.25em;
}

Open in new window

That is saying once the viewport goes below 769, all bets are off...

So
@media (max-width: 768px)
h1 {
/*change font size as needed */
color: #363;
font-weight: normal;
padding-left: 30px;
font-size: 2.25em;
}

Open in new window

0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39893537
probably add to that..


@media (max-width: 768px){
h1 {
/*change font size as needed */
color: #363;
font-weight: normal;
padding-left: 30px;
font-size: 2.25em;
}
.content{background-color:white;}

}

Open in new window


I forgot the curly brackets in  my first post
@media (max-width: 768px){
   /* classes go here */
   .something{font-size:20px;}
}
0
 

Author Comment

by:nsitedesigns
ID: 39894861
Hi Scott,

Did you mean this code below?  I could not find the one you mentioned.  
div.logophone div{position: absolute;bottom: 30px;right: 0;}
@media (min-width: 769px){ 
	.logotext div.companyname{
		margin-left:90px;
		text-align:left;
		font:  Verdana, Arial, Helvetica, sans-serif;
		font-size: 2.3em;
    }

Open in new window

0
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39894912
That will work. You just want to add css under the media query @media (min-width: 769px){
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question