Posted 10 years ago
·
Author
D.M I think maybe you did some thing wrong in the bootstrap folder... any ways I didn't use the actual bootstrap folder this time. I use this http://www.bootply.com/WOF3kLGxk2#. to write and view, but this is how it should the actually one should look that I'm working on http://origin.ga/, however I need the Brand name to be in-line with the rest of the menu. I think I did some thing wrong. :/ I hate doing stuff in a rush.
these are the codes
-- Mon Jun 02, 2014 3:47 am --
P.S... the transparency is 75% so you will not notice when using a white background... it will only look grey. try using a picture on the the BODY to show up the transparency .
these are the codes
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap</title>
<meta name="viewport" content="width=drvice-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/styles.css" rel="stylesheet">
</head>
<body>
<div class="navbar-transparent navbar-static-top">
<div class="navbar-inner">
<div class="container nav-container">
<a href="#" class="navbar-brand">Brand Name</a>
<button class="navbar-toggle" data-toggle="collapse" data-target=".navHeaderCollapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="collapse navbar-collapse navHeaderCollapse">
<ul class="nav navbar-nav navbar-menu">
<li class="active"><a href="#" class="navbar-text">Home</a></li>
<li><a href="#" class="navbar-text">Style</a></li>
<li><a href="#" class="navbar-text">Typography</a></li>
<li><a href="#contact" data-toggle="modal" class="navbar-text">Get it</a></li>
</ul>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="js/bootstrap.js"></script>
</body>
</html>
.page-header {
margin-top:0;
}
.panel-body {
padding-top:0;
}
/* Navigation bar*/
.navbar-inner {
height:110px;
background-color:rgba(0,0,0,.75)
}
.navbar-brand {
color: #fff;
font-size:21px;
}
.navbar-text {
color: #fff;
font-size:13px;
}
.navbar .nav > li >a :hover{
color:#fff;
}
.nav-container {
padding-top: 2%;
}
.menu-nav {
float: none;
}
-- Mon Jun 02, 2014 3:47 am --
P.S... the transparency is 75% so you will not notice when using a white background... it will only look grey. try using a picture on the the BODY to show up the transparency .
Last edited by General Free Credits on Mon Jun 02, 2014 2:40 pm, edited 1 time in total.