Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialmonica soto
266 PointsLogo images
Hi. I have troubles with my image it doesn't appear and don't know why there is another way to put the images in the navbar?
monica soto
266 Pointsyes, thanks --- css--- .navbar-brand{ margin-top: -15px; text-indent: 100%; white-space: nowrap; overflow: hidden; background: url('imagenes/bnc_logo1.png') no-repeat; background-size: 100%; } .navbar-text{ font-family: Montserrat 700; font-weight: 700; font-size: 1.5em; color: #009943; margin right:20px;
}
---html---
<nav class="navbar navbar-fixed-top navbar-default" role="navigation">
<div class="container">
<a class"navbar-brand pull-right" href="#">bancompara</a>
<p class="navbar-text pull left"> llΓ‘manos al 55 5522-992499</p>
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
3 Answers
Kevin Kenger
32,834 PointsHey Monica,
I also noticed in your HTML, you don't have an =
between class
and navbar-brand
, which would mess up your .navbar-brand
selector.
EDIT: yeah, what Cameron said.
monica soto
266 PointsThanks, I didn't notice :p
Cameron Cottle
13,742 PointsI noticed that the logo url is in the imagenes folder, is this actually the folder name or should it be images instead?
monica soto
266 Pointsit is imagenes, it's spanish :)
Cameron Cottle
13,742 PointsAlso you are missing the = on you anchor tag.
it should be
<a class="navbar-brand pull-right" href="#"></a>
Cameron Cottle
13,742 PointsCameron Cottle
13,742 PointsCould you post your code please?