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 trialLisa Kingston
2,333 PointsIcon not showing on Chrome
I keep getting the fallback rectangle displayed for the icon font. Checked the html & CSS...everything is identical to Guil's code. Anyone else run into the same issue??
1 Answer
Lisa Kingston
2,333 PointsHey Dustin, thanks for your reply. I've got the icon font in my local directory.
Here is the css:
@font-face {
font-family: 'icomoon';
src:url('fonts/icomoon.eot');
src:url('fonts/icomoon.eot?#iefix') format('embedded-opentype'),
url('fonts/icomoon.woff') format('woff'),
url('fonts/icomoon.ttf') format('truetype'),
url('fonts/icomoon.svg#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
and the rule:
.wrap:before {
content: "\e000";
font-family: "icomoon";
font-size: 1.9em;
}
Dustin Matlock
33,856 PointsI'm not sure if you use Dropbox but sometimes that's a little easier to zip a project and upload to.
Dustin Matlock
33,856 PointsDustin Matlock
33,856 PointsCan you post the code from both files?