I am trying to recreate this website using my own styles & Bootstrap.
I cannot figure out how to align these two elements horizontally.
I want a grid for the nav bar on the left to be size 3 and the rest of the page on the right to be 9, and I have that, but when I go to add the video, it just stacks vertically and not horizontally.
ul {
list-style: none;
}
.nav-left-bar {
text-transform: uppercase;
font-size: 9px;
font-family: Arial;
}
#search-but {
list-style: none;
border-bottom: 1px solid #000;
width: 18%;
padding-bottom: 1%;
margin: 5% 0 10% 0;
}
a:link, a:visited, a:active {
text-decoration: none;
color: #000;
}
a:hover {
}
#search-but:hover {
border-top: 1px solid #000;
border-left: 1px solid #000;
border-right: 1px solid #000;
padding-right: 50%;
}
video {
display: block;
top: 0;
left: 0;
width: 100%;
height: 100%;
float: right;
}
.vid-marg {
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>YSL</title>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-
BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous">
<link rel="stylesheet" type="text/css"
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-
awesome.min.css">
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<div class="container">
<div class="nav-left-bar">
<div class="row">
<div class="col col-md-3">
<img src="ysllogo.jpg">
<ul>
<li>winter 17 collection</li>
</ul>
<ul>
<li>la maison</li>
<li>saint laurent collections</li>
<li>saint laurent store locator</li>
</ul>
<ul>
<li>shop women</li>
<li>shop men</li>
<li>sunglasses collection</li>
</ul>
<ul>
<li id="search-but">search</li>
</ul>
<ul>
<li id="bag-items">bag</li>
</ul>
<div class="bottom-navi-bar">
<ul>
<li>log in / register</li>
<li>newsletter</li>
<li>customer care</li>
<li>shipping to: us</li>
<li>legal notices</li>
<li>follow us</li>
</ul>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col col-md-9">
<video src="https://md.yoox.biz/618203721001/201707/263/618203721001_5506271544001_5506259873001.mp4" autoplay=""></video>
</div>
</div>
</div>
<script
src="http://code.jquery.com/jquery-3.2.1.js"
integrity="sha256-DZAnKJ/6XZ9si04Hgrsxu/8s717jcIzLy3oi35EouyE="
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</body>
</html>
You have them in two different row divs, so therefor they show up in two different rows. Try changing your HTML to something like this:
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Purrfect Match</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<div class="container">
<div class="nav-left-bar">
<div class="row">
<div class="col col-lg-3">
<img src="ysllogo.jpg">
<ul>
<li>winter 17 collection</li>
</ul>
<ul>
<li>la maison</li>
<li>saint laurent collections</li>
<li>saint laurent store locator</li>
</ul>
<ul>
<li>shop women</li>
<li>shop men</li>
<li>sunglasses collection</li>
</ul>
<ul>
<li id="search-but">search</li>
</ul>
<ul>
<li id="bag-items">bag</li>
</ul>
<div class="bottom-navi-bar">
<ul>
<li>log in / register</li>
<li>newsletter</li>
<li>customer care</li>
<li>shipping to: us</li>
<li>legal notices</li>
<li>follow us</li>
</ul>
</div>
</div>
<div class="col col-lg-9">
<video src="https://md.yoox.biz/618203721001/201707/263/618203721001_5506271544001_5506259873001.mp4" autoplay=""></video>
</div>
</div>
</div>
</div>
<!-- SCRIPTS -->
<script
src="http://code.jquery.com/jquery-3.2.1.js"
integrity="sha256-DZAnKJ/6XZ9si04Hgrsxu/8s717jcIzLy3oi35EouyE="
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- SCRIPTS -->
</body>
</html>
You have to use the Bootstrap cols inside a row. For example if you want to divide in 3 columns you have to use:
<div class="row">
<div class="col-md-4"></div>
<div class="col-md-4"></div>
<div class="col-md-4"></div>
</div>
Now, in your site you want to divide a row with 2 columns, 3 and 9, so you have to do it like this:
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-9"></div>
</div>
I recommend to you to avoid "col-lg" if is not for a very good reason, col-md just work really well in large screens and also in medium screens!
I give you the codepen with your question solved:
https://codepen.io/Kristain/pen/GEVYyb
Good luck with the site!
Related
I have a text ("Bokdeko") that with a size of 20px is fine, but if I modify the font size to 30px it gets misaligned as you can see in the images:
with 20px: https://postimg.cc/75bSFGnR
with 30px: https://postimg.cc/0M1mKt1g
As you can see, the text "Bokdeko" appears scrolled down in the second image, which is the one with a font size of 30px.
this is the css and html code that I have.
the css file:
#import url(https://fonts.googleapis.com/css2?family=Oranienbaum&family=PT+Sans+Narrow&display=swap);
.icono
{
width:30px;
height:20px;
}
.nav-section .row {
height: 30px;
align-items: center;
}
.contenedor{
width:485px;
height:540px;/*tamaño alto foto*/
margin :auto;
}
.slick-prev:before, .slick-next:before {
color:black !important;
}
.titulo{
font-family: 'Oranienbaum', serif;
font-size: 30px;
}
the html file:
<!DOCTYPE html>
<html>
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<LINK REL=StyleSheet HREF="css/bootstrap.css" TYPE="text/css">
<link rel="stylesheet" href="estilos_menu.css">
<link rel="stylesheet" href="estilos.css">
<style>
.icono
{
width:30px;/*tama�o del icono*/
height:20px;
}
</style>
</head>
<body>
<div class="container-fluid">
<div class="row nav-section" >
<div class="col-sm-12 col-lg-2 bg-secondary my-auto" style="z-index:3;">
<!--<div class="hamburguer">-->
<div class="row" style="margin-top:30px !important;margin-bottom:30px !important;">
<div class="col-4">
<div>
<ul class="nav">
<li><img class="icono" src="hamburguer.png">
<ul>
<li>Tienda
<ul>
<li>Ver todo</li>
<li>Armarios</li>
<li>Sillas</li>
<li>Sillones</li>
<li>Sofás</li>
<li>Mesas</li>
<li>Mesillas y cajoneras</li>
<li>Lámparas</li>
</ul>
</li>
<li>Blog
<ul>
<li>Estilo minimalista</li>
<li>Estilo nórdico</li>
<li>Estilo retro</li>
<li>Estilo rústico</li>
<li>Estilo clásico</li>
<li>Espacios exteriores</li>
<li>Fusión de estilos</li>
<!--</li>-->
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div> <!-- div col-->
<div class="col-8 titulo bg-info">
BOKDEKÓ
</div>
</div>
</div>
<div class="col-sm-10 col-lg-5 bg-danger my-auto" >
<div class="row" style="margin-top:30px !important;margin-bottom:30px !important;">
<div class="col-2">
Cuenta
</div>
<div class="col-2">
Registrarse
</div>
<div class="col-8">
Busca productos
<input type=text name=buscar size='12' maxlength='15' value='' style="padding-top:1px;padding-bottom:1px;font-size:9px;">
</div>
</div>
</div><!--div col-->
<div class="col-sm-12 col-lg-5 bg-info my-auto"><!--align-self-center-->
<div class="row" style="margin-top:30px !important;margin-bottom:30px !important;">
<div class="col-3 ">
Mi lista
</div>
<div class="col-3 bg-success">
Carrito
</div>
<div class="col-6 bg-warning">
Hola
</div>
</div>
</div> <!--div col-->
</div> <!--div row-->
</div>
<script src="js/popper.min.js" type="text/javascript"></script>
<script src="js/jquery-3.5.1.slim.min.js" type="text/javascript"></script>
<script src="js/utilidades.js" type="text/javascript"></script>
</body>
</html>
I have to move my ESPN to most left on the Navbar and I need to add a scan icon in Navbar like this image. I am drawing the same picture but I won't be able to add the scan icon and add 3 bars right after the programming tab. I am designing the same picture in HTML but I can't get rid of these 2 to 3 things. Any help is really appreciated.
following this image
This is my code:
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/components.css">
<link rel="stylesheet" href="css/icons.css">
<link rel="stylesheet" href="css/responsee.css">
<link rel="stylesheet" href="owl-carousel/owl.carousel.css">
<link rel="stylesheet" href="owl-carousel/owl.theme.css">
<link rel="stylesheet" href="css/template-style.css">
<link href='https://fonts.googleapis.com/css?family=Playfair+Display&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,700,800&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/jquery-ui.min.js"></script>
</head>
<body class="size-1140">
<header role="banner" class="position-absolute">
<nav class="background-transparent background-transparent-hightlight full-width sticky">
<div class="s-20 l-2">
<a href="index.html" class="logo">
</a>
</div>
<div class="top-nav s-20 l-20">
<p class="nav-text"></p>
<ul class="right chevron">
<a style="text-align:right;">ESPN</a>
<li><a style="text-align:right;">HOME</a></li>
<li><a style="text-align:right;">SCHEDULE</a></li>
<li><a>PROGRAMMING</a>
<ul>
</ul>
</li>
<li><a >ABOUT</a></li>
<li><a >NEWS</a></li>
<li><a >CONTACT</a></li>
<li><a>SELECTLANGUAGE</a>
<ul>
</ul>
</li>
</ul>
</div>
</nav>
</header>
<!-- MAIN -->
<main role="main">
<!-- Main Header -->
<header>
<div class="carousel-default owl-carousel carousel-main carousel-nav-white background-dark text-center">
<div class="item">
<div class="s-12">
<img src="img/header.jpg" alt="">
<div class="carousel-content">
<div class="content-center-vertical line">
<div class="margin-top-bottom-80">
<!-- Title -->
<h1 class="text-white margin-bottom-30 text-size-60 text-m-size-30 text-line-height-1">ESPN SPORTS<br> PROGRAMMING</h1>
<div class="s-12 m-10 l-8 center"><p class="text-white text-size-14 margin-bottom-40">Welcome to ESPN's catalog of sports content available for broadcast worldwide.<br> Every year we distribute more than 6000 hours of live events, highlight series, <br> studio and scripted media to broadcasters across the globs.</p></div>
<div class="line">
<div class="s-10 m-10 l-3 center">
<a class="button button-white-stroke s-6" style="background-color:red;" href="/">+CONTACT US</a>
<a class="button button-white-stroke s-6" style="background-color:black;" href="/">WATCH DEMO</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</header>
<script type="text/javascript" src="js/responsee.js"></script>
<script type="text/javascript" src="owl-carousel/owl.carousel.js"></script>
<script type="text/javascript" src="js/template-scripts.js"></script>
</body>
</html>
my result
I think you are broken down into the wrong part. The logo and nav sections that need to be separated are easier to adjust.
nav {
display: flex;
align-items: center;
justify-content: space-around;
}
ul {
display: flex;
align-items: center;
justify-content: space-between;
list-style: none;
flex: 2;
}
p img {
width: 100px;
}
p {
flex: 1;
}
<nav>
<p><img src="https://cdn.iconscout.com/icon/free/png-256/espn-282356.png"></p>
<ul>
<li>HOME</li>
<li>SCHEDULE</li>
<li>PROGRAMMING</li>
<li>ABOUT</li>
<li>NEWS</li>
<li>CONTACT</li>
<li>SELECTLANGUAGE</li>
</ul>
</nav>
You can do this:
put this in head
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
put this where you want your icon to appear
<a><i class="material-icons">menu</i></a>
<link href="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-rc.20/css/uikit.min.css" rel="stylesheet"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-rc.20/js/uikit.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-rc.20/js/uikit-icons.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<section class="uk-container-expand">
<div class="uk-height-large uk-background-cover uk-light uk-flex uk-flex-center uk-flex-middle " data-src="https://source.unsplash.com/1200x800/?camera" uk-img>
<div class="uk-flex uk-flex-column uk-flex-bottom">
<div>
<h2>Background image</h2>
</div>
<div class="uk-float-right">
<ul class="uk-breadcrumb" id="breadcrumb">
<li>Item</li>
<li>Item</li>
<li class="uk-disabled"><a>Disabled</a></li>
<li><span>Active</span></li>
</ul>
</div>
</div>
</div>
</section>
I need suggestion for shifting the breadcrumb to right side corner of the page.
you can solve this using position property as shown below:
.uk-float-right {
float: right;
position: absolute;
bottom: 0;
right: 20px;
}
.uk-container-expand{
position:relative;
}
<link href="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-rc.20/css/uikit.min.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-rc.20/js/uikit.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-rc.20/js/uikit-icons.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<section class="uk-container-expand">
<div class="uk-height-large uk-background-cover uk-light uk-flex uk-flex-center uk-flex-middle " data-src="https://source.unsplash.com/1200x800/?camera" uk-img>
<div class="uk-flex uk-flex-column uk-flex-bottom">
<div>
<h2>Background image</h2>
</div>
</div>
<div class="uk-float-right">
<ul class="uk-breadcrumb" id="breadcrumb">
<li>Item</li>
<li>Item</li>
<li class="uk-disabled"><a>Disabled</a></li>
<li><span>Active</span></li>
</ul>
</div>
</div>
</section>
Good day, slight issue here, I cannot seem place all three of my images in the same row together, can anyone help solve the issue? the first is in one row, then the second and third overlap each other. I have already used bootstrap's 12 column grid but the other 2 just kept going down a row. Also, is there a bootstrap code where the image adjusts to the row? thank you for reading.
heres a js fiddle link: https://jsfiddle.net/wxofr2ae/5/
HTML:
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Homepage</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</head>
<body>
<header>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">MWC</a>
</div>
<ul class="nav navbar-nav">
<li class="active">HOME</li>
<li>ABOUT</li>
<li>FAQ</li>
<li>CONTACT</li>
</ul>
</div>
</nav>
</header>
<div class="container">
<div class="row">
<div class="col-sm-4">
<div class="box">
<h2>BEAUTY</h2>
<img src="img/link_beauty.jpg" class="bhw_link">
</div>
<div class="col-sm-4">
<div class="box">
<h2>HEALTH</h2>
<img src="img/link_health.jpg" class="bhw_link">
</div>
</div>
<div class="col-sm-4">
<div class="box">
<h2>WELLNESS</h2>
<img src="img/link_wellness.jpg" class="bhw_link">
</div>
</div>
</div>
</div>
</div>
<div class="legend">
<span class="key-container">.container</span>
<span class="key-row">.row</span>
<span class="key-col">.col-*</span>
<span class="key-box">.box (custom)</span>
</div>
</body>
</html>
CSS:
#media only screen and (max-width : 767px) {
.box {
height: auto !important;
}
}
.bhw_link {
width: 300px;
height: 300px;
}
Okay! I just solve your problem by doing just 3 steps:
Step 1: add the closing tag for the <div class="box"> of the BEAUTY block.
<div class="box">
<h2>BEAUTY</h2>
<img src="img/link_beauty.jpg" class="bhw_link">
</div> <!-- you forgot this closing tag -->
Step 2: remove a redundant </div> tag of the <div class="container"> block
Step 3: change the css class, make width: 100%, this step will solve the image overlap:
.bhw_link {
width: 100%;
height: 300px;
}
You missed closing div <div class="box"> and change css of
.bhw_link {
width: 100%;
height: auto;
}
#media only screen and (max-width : 767px) {
.box {
height: auto !important;
}
}
.bhw_link {
width: 100%;
height: auto;
}
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<header>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">MWC</a>
</div>
<ul class="nav navbar-nav">
<li class="active">HOME</li>
<li>ABOUT</li>
<li>FAQ</li>
<li>CONTACT</li>
</ul>
</div>
</nav>
</header>
<div class="container">
<div class="row">
<div class="col-sm-4">
<div class="box">
<h2>BEAUTY</h2>
<img src="https://www.google.co.in/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png" class="bhw_link"></div>
</div>
<div class="col-sm-4">
<div class="box">
<h2>HEALTH</h2>
<img src="https://www.google.co.in/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png" class="bhw_link">
</div>
</div>
<div class="col-sm-4">
<div class="box">
<h2>WELLNESS</h2>
<img src="https://www.google.co.in/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png" class="bhw_link">
</div>
</div>
</div>
</div>
</div>
<div class="legend">
<span class="key-container">.container</span>
<span class="key-row">.row</span>
<span class="key-col">.col-*</span>
<span class="key-box">.box (custom)</span>
</div>
It's just because you ommitted the closing tag
<div class="col-sm-4">
<div class="box">
<h2>BEAUTY</h2>
<img src="img/link_beauty.jpg" class="bhw_link">
</div> <!-- you omitted this closing tag-->
</div>
Try class "img-responsive" for your image tag if you want to scale the image to the parent element or just set it to width 100% because the image is already inside the grid system of bootstrap
I have a Bootstrap Carousel that is not working and I have searched other Bootstrap carousel threads and can't seem to find an answer. Usually the answer to most of the questions on here is that the jQuery library either isn't linked correctly, or isn't linked at all and I think mine is.
Here's my code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link type="text/css" rel="stylesheet" href="main.css">
</head>
<body>
<header>
<nav class ="navbar navbar-default" role = "navigation">
<div class= "container">
<div class = "navbar-header">
<a class = "navbar-brand" href="#featured"> <span class="subhead">Wisdom Pet Medicine</span></a>
</div>
<ul class = "nav navbar-nav navbar-right">
<li>Home</li>
<li>Mission</li>
<li>Services</li>
<li>Staff</li>
<li>Testimonials</li>
</ul>
</div>
</nav> <!--main nav-->
<div class= "carousel slide" data-ride= "carousel" id = "featured">
<div class="carousel-inner">
<div class="item active"><img src= "img/carousel-lifestyle.jpg" alt="lifestyle"></img></div>
<div class="item"><img src= "img/carousel-exoticanimals.jpg" alt="animals"></img></div>
<div class="item"><img src= "img/carousel-fish.jpg" alt="fish"></img></div>
<div class="item"><img src= "img/carousel-mission.jpg" alt="mission"></img></div>
<div class="item"><img src= "img/carousel-stateoftheart.jpg" alt="motto"></img></div>
<div class="item"><img src= "img/carousel-vaccinations.jpg" alt="vaccine"></img></div>
</div> <!-- Wrapper for slides -->
<a class ="left carousel-control" href= "#featured" role = "button" data-slide ="prev"><span class= "glyphicon glyphicon-chevron-left"></span></a>
<a class ="right carousel-control" href= "#featured" role = "button" data-slide ="next"><span class= "glyphicon glyphicon-chevron-right"></span></a>
</div>
</div><!-- carousel-->
</div>
</header>
<script src ="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" integrity="sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ==" crossorigin="anonymous"></script>
</body>
</html>
I have some CSS as well, it may not be related, but i'll include it anyways:
body {
font-size: 1.5em;
font-weight:200;
}
.navbar {
border-radius: none;
}
.navbar-nav {
padding-right: 20px;
}
.navbar-header>a {
font-size:1.2em;
font-weight:150;
color: black !important;
}
.navbar-nav>li>a:hover, .navbar-nav>li>a:focus {
transition: all 0.5s ease 0s;
color: green !important;
}
.carousel {
position:relative;
top:-20px;
}
You need to use a different version of jQuery (you're using v1.8.3) starting at a minimum of version v1.9.1.
I would suggest checking out one of these if using a CDN.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
or
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
or
CDNjs