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

Logo in navigation bar disappearing

I am having an issue with the logo in my nav bar disappearing when I shrink the browser size.

Here is my code:

margin-right: auto;
background: #e34e25;
width: 75px;
height: 100%;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
color: #e34e25;

along with some other base styles

Hi Aaron,

Can you post your code in the comments please, so we can figure out why the logo is disappearing.

I can't see a reason why it would break from the properties/values you listed. Might have to dig a bit deeper. Is the project code accessible through the web( like github etc.)?

1 Answer

can you past here your full html and css code so that we can help you debug it please