css - HTML Bootstrap website's background color not changing, and also how to add in social network buttons -


i'm having problem here. 1 of friends helping me bootstrap stuff website, after converting site bootstrap, can no longer change background color in website. please me? ton! oh, , also, while @ it, how create facebook social link facebook icon on, when hovering on icon there color? again!

html code:

<!doctype html> <html> <head lang="en">     <meta charset="utf-8">     <meta http-equiv="x-ua-compatible" content="ie=edge,chrome-1">     <title>my portfolio</title>     <link rel="stylesheet" href="css/main.css">     <link rel="stylesheet" href="css/bootstrap.min.css">     <script src="js/jquery-2.1.3.min.js"></script>     <script src="js/bootstrap.min.js"></script>     <script src="js/index.js"></script> </head> <body> <nav class="navbar navbar-default navbar-custom navbar-fixed-top">          <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">             <ul class="nav navbar-nav navbar-left">                 <li>                     <a href="index.html">home</a>                 </li>                 <li>                     <a href="about%20me.html">about</a>                 </li>                 <li>                     <a href="pictures.html">pictures</a>                 </li>                 <li>                     <a href="contacts.html">contact</a>                 </li>             </ul>         </div> </nav>      <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">          <!-- indicators -->         <ol class="carousel-indicators">             <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>             <li data-target="#carousel-example-generic" data-slide-to="1"></li>             <li data-target="#carousel-example-generic" data-slide-to="2"></li>         </ol>          <!-- wrapper slides -->         <div class="carousel-inner">             <div class="item active">                 <img src="images/image10.jpg" alt="...">                 <div class="carousel-caption">                     <h3>near house: meadow</h3>                 </div>             </div>              <div class="item">                 <img src="images/image4.jpg" alt="...">                 <div class="carousel-caption">                     <h3>flume gorge: waterfall</h3>                 </div>             </div>              <div class="item">                 <img src="images/image3.jpg" alt="...">                 <div class="carousel-caption">                     <h3>flume gorge: forest</h3>                 </div>             </div>         </div>          <div>         <!-- controls -->         <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">             <span class="glyphicon glyphicon-chevron-left"></span>         </a>          <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">             <span class="glyphicon glyphicon-chevron-right"></span>         </a>         </div>         </div>      <footer class="text-center">         <div class="footer-above">             <div class="container">                 <div class="row">                     <div class="footer-col col-md-4">                         <h3>location</h3>                         <p>school address: not availible</p>                     </div>                     <div class="footer-col col-md-4">                         <h3>connect social media!</h3>                         <div>                             <a href="https://www.facebook.com/myusername"></a>                         </div>                     </div>                     <div class="footer-col col-md-4">                         <h3>about bootstrap</h3>                         <p>bootstrap free open source project simplifies creation of websites</p>                         <p><a href="http://getbootstrap.com/">get bootstrap now</a></p>                     </div>                 </div>             </div>         </div>         <div class="footer-below">             <div class="container">                 <div class="row">                     <div class="col-lg-12">                         copyright &copy; name 2015-2016                        <p> music used on site belongs respective authors</p>                     </div>                 </div>             </div>         </div>     </footer> </body> </html> 

css code:

.navbar-custom .nav li {     color: #fff;     padding: 20px; }  .navbar-custom .nav li {     text-transform: uppercase;     font-size: 12px;     font-weight: 800;     letter-spacing: 1px; }  .navbar-default .navbar-nav>li>a {     color: #777; }  #carousel-example-generic{     width: 60%;     height: 100%;     margin: 0 auto; }  .footer {     margin-top: 20px;     text-align: center;     font-size: 11px;     font-family: verdana, geneva, tahoma, arial, helvetica, sans-serif; }  .footer {     margin-top: 20px;     text-align: center;     font-size: 11px;     font-family: verdana, geneva, tahoma, arial, helvetica, sans-serif; } 

for firs question need :

body {     background-color: black; } 

for second question can use font awesome

here exemple created on how change color on hover on social media icons :

<div class="background">     <span>         <i class="fa fa-round fa-facebook"></i>         <i class="fa fa-round fa-twitter"></i>         <i class="fa fa-round fa-youtube"></i>         <i class="fa fa-round fa-linkedin"></i>     </span> </div> 

live demo

edit : link updated !


Comments

Popular posts from this blog

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -