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 How to Make a Website Responsive Web Design and Testing Build a Three Column Layout

Contact Icons are underneath my general info when browser is in full size desktop size.

My contact icons are located next to contact info when browser is in smart phone size, but when the window is increased in size, the icons end up underneath the general info.

4 Answers

Alessandra Vaughn
Alessandra Vaughn
13,915 Points

Hi there, it is best if you copy your code into the post, otherwise we are just guessing.

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9em;
}

.contact-info a {
  display:block;
  min-height: 20px;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  padding: 0 0 0 30px;
  margin: 0 0 10px;
<div id="wrapper">
      <section id="primary">
        <h3>General Information</h3>
        <p>I am not currently looking for new design work, but am available for speaking gigs and similar engagements. If you have any questions, please don't hesitate to contact me.</p>
        <p>Please only use phone contact for urgent inquiries. Otherwise, Twitter and email are the best way to reach me.</p>
      </section>
        <h3>Contact Details</h3>
          <ul class="contact-info">
            <li class="phone"><a href="tel:555-6425">555-6425</a></li>
            <li class="mail"><a href="mailto:linda@mail.com">linda@mail.com</a></li>
            <li class="twitter"><a href="http://www.twitter.com/intent/tweet?screen_name=ElleLRob">@ElleLRob</a></li>
          </ul>
       <section id="secondary">
      </section>
      <footer>
        <a href="http://twitter.com/ElleLRob"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a>
        <a href="https://www.facebook.com/linda.munoz.9"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a>
        <p>&copy; 2014 Linda Robinson</p>
      </footer>
     </div>
Alessandra Vaughn
Alessandra Vaughn
13,915 Points

It looks like your h3 tag and ul contact-info list is not in the "secondary" section.

All of this needs to be in the section element with the id of secondary.

        <h3>Contact Details</h3>
          <ul class="contact-info">
            <li class="phone"><a href="tel:555-6425">555-6425</a></li>
            <li class="mail"><a href="mailto:linda@mail.com">linda@mail.com</a></li>
            <li class="twitter"><a href="http://www.twitter.com/intent/tweet?screen_name=ElleLRob">@ElleLRob</a></li>
          </ul>

Thank you.