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

CSS

Alex Franklin
Alex Franklin
12,403 Points

.btn-icon is either not showing up at all, or it is showing up as only a white box.

I moved all of this lesson's code into a brand new Pen, and so I obviously had to replace any images with different ones of my choosing...

Now I can't get the download icon to show up at all, or in the seldom case that it DOES appear, it will only show as a white box... The only thing I have changed is to put links to the different images / different icon. I believe the issue has something to do with the ".btn-icon" section in the CSS where we specify a "background." I've tried using background-image and that will sometimes help the image to appear, but it is still hit or miss and ALWAYS is a solid white box if it appears...

Can someone please help me understand what I'm doing wrong with my .btn-icon transition to encounter this issue???

1 Answer

Can you share your code pen? this will make it easier to find the problem