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 trial

Luisa Fernanda
174 PointsFramework Basics - Foundation - Background url problem
I'm using Foundation. Basically I'm following Framework basics to the letter. I'm up to styling the panel.
I'm using almost exactly the same markup as the instructor but for some reason when I'm trying to use a background image within a div it does not show at all. My markup is as follows:
```<div class="row headline">
<div class="large-9 columns">
<div class="luisa left">
</div>
</div> ```
(I do have the other 3 columns to add up 12 but I'm just pasting here what is not working)
Then in my css these are my styles:
.headline { margin-top: 80px; background: #EDDA06; margin-bottom: 25px; padding: 30px; }
.luisa { background: url(main-illustration.png) no-repeat; }
When I try to add the background url to the class luisa it doesn't show up. If I add it to headline it does. I really don't have a clue what's happening. It seems so simple yet even though I'm trying all sorts of things, this div will not accept any image as background.
Help! thank you.
5 Answers

Adam Sackfield
Courses Plus Student 19,663 PointsTry adding ' ' (quotes) around the main-illustration.png part. Its easy to miss off characters then when comparing your code to the video's is hard as they are so similar it can be hard to spot what you have missed. I have lost countless hours trying to see what i missed.
Thanks

Luisa Fernanda
174 PointsI tried it but no luck. Very strange..

Julian Price
11,760 PointsWhich version foundation do you have. If it's newest foundation 5 the tuts on 4 version

Julian Price
11,760 PointsTry the background-image property instead

Joseph Bramall
12,211 PointsHi , I have the same problem, did anyone find a fix for it?