Solved

Bootstrap CSS not showing

Posted on 2014-09-08
5
387 Views
Last Modified: 2014-09-08
Hi, This is a newbie bootstrap question. I have this page: codedivasites.com/bootstrap/responsive/

Into bootstrap.css, I added:
.business-header {
height: 400px;
background: url('http://www.codedivasites.com/bootstrap/responsive/images/header.jpg') center center no-repeat scroll;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}

(It's on line 14 of the css file, if you want to see it live).

The image isn't showing up, and I can't figure out why. Can you help? Thanks.
0
Comment
Question by:mel200
  • 3
  • 2
5 Comments
 
LVL 38

Accepted Solution

by:
Tom Beck earned 500 total points
ID: 40309957
All of your css is coming from bootstrap.min.css, not bootstrap.css.
0
 

Author Comment

by:mel200
ID: 40310007
oh... shoulda checked that. Thanks, let me add bootstrap.css to index.html. :(
0
 

Author Closing Comment

by:mel200
ID: 40310009
I knew it was a dumb question, just didn't know how dumb. Thanks!
0
 
LVL 38

Expert Comment

by:Tom Beck
ID: 40310306
The only dumb question is the one that's not asked (did ya close the hatch?) resulting in the loss of the submarine and all hands.

Thanks for the points.
0
 

Author Comment

by:mel200
ID: 40310327
:) Thanks, Tom. Next time I'll check that first, so lesson learned.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
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…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

789 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