Jumbotron: change position to relative


#1

.nav a {
color: #5a5a5a;
font-size: 11px;
font-weight: bold;
padding: 14px 10px;
text-transform: uppercase;
}

.jumbotron {
background-image:url('http://goo.gl/04j7Nn');
height: 500px;
}

.jumbotron h1 {
color: #fff;
font-size: 48px;
font-family: 'Shift', sans-serif;
font-weight: bold;
}

.jumbotron p {
font-size: 20px;
color: #fff;
}

.learn-more {
background-color: #f7f7f7;
}

.learn-more h3 {
font-family: 'Shift', sans-serif;
font-size: 18px;
font-weight: bold;
}

.learn-more a {
color: #00b0ff;
}
.nav li {
display: inline;
}
.jumbotron.container {
position: relative;
top: 100px;
}


#2

I am writing the code just like you've written it above still gives me a reply "change position to relative".Any thoughts?


#3

You must have a space between .jumbotron and .container


#5

Hi,thanks a lot found it myself


#6

Hi I am having the same problem

.learn-more h3 {
font-family: 'Shift', sans-serif;
font-size: 18px;
font-weight: bold;
}

.learn-more a {
color: #00b0ff;
}
.nav li {
display: inline;
}
.jumbotron .container {
position: relative
top: 100px;
}

It says I need to set the Div to relative?


#7

Ah I was missing the ; after relative


#9

Hi, how did you do it?

I'm having the same problem.

This is my code:

.jumbotron .container {
position: relative;
top: 100px;
}

This is the error: "Set the position of the <div class="container">..</div> inside <div class="jumbotron">..</div> to relative"

Hope anyone knows the answer!

Thanks


#11

Hi, how did you guys do it?

I'm having the same problem.

This is my code:

.jumbotron .container {
position: relative;
top: 100px;
}

This is the error: "Set the position of the ... inside ... to relative"

Hope anyone knows the answer!

Thanks