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 Styling Web Pages and Navigation Style the Portfolio

Oscar Mauricio Lancheros Murillo
Oscar Mauricio Lancheros Murillo
3,608 Points

Why my page code is still showing bullets and does not get 2 pics per line?

Why my page code is still showing bullets and does not get 2 pics per line?

/*******************************
 GENERAL
********************************/

#wrapper{
  max-width: 940px;
  margin: 0 auto;  
  padding: 0 5%;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}


nav {
  text-align: center;
  padding: 10px 0;
  margin: 20px 0 0;
}

/*******************************
HEADING
********************************/

#logo {
  text-align: center;
  margin: 0;
}

/*******************************
COLORS
********************************/

body {
background-color:#fff;
color: #999;
}

header {
  background: #58D3F7;
  border-color: #58ACFA; 
}

h1,h2 {
  color: #fff;
} 

a{
  color: #00BFFF;
}

nav {
  background:#00BFFF;
}

/*Nav Link*/
nav a, nav a:visited {
  color:#fff;
}

/*Selected Nav Link*/
nav a.selected, nav a:hover {
  color: #0174DF;
}

/*******************************
FOOTER
********************************/


footer {
  font-size: 0.75em;
  text-align: center;
  padding-top: 50px;
  color: #ccc;
}

/*******************************
Pagina: Portafolio
********************************/


#gallery {
  margin: 0;
  padding: 0;
  list-style: none;
}

#gallery li {
  float: left;
  width: 45%;
  margin: 2.5;
  background-color: #f5f5f5;
  color: bdc3c7;
}


h1 {
  font-family: 'Montserrat', sans-serif;
  margin:15px 0;
  font-size: 5em;
  font-weight: normal;
  line-height: 1.2em;
}

h2{
  font-size: 1.3em;
  margin: -5px 0 0;
  font-weight: normal;
}


/*************************************
SITE BODY
**************************************/

body {
  font-family: 'Ubuntu', sans-serif;
}

13 Answers

No probs. Good luck with your journey. I am only very slightly ahead of you

Oscar Mauricio Lancheros Murillo
Oscar Mauricio Lancheros Murillo
3,608 Points

I am really enjoing this site, soo much!! this is gold knoledge

Have you saved and refreshed the page?

Can you share the html pls too?

Also there should be another css page for the responsive css

Oscar Mauricio Lancheros Murillo
Oscar Mauricio Lancheros Murillo
3,608 Points
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Mauricio Lancheros | Ingeniero de Sistemas</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link href='http://fonts.googleapis.com/css?family=Montserrat:400,700|Ubuntu:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="css/main.css">    
  </head>
  <body>
    <header>
      <a href="index.html" id="logo">
        <h1>Mauricio Lancheros</h1>
        <h2>Ingeniero de Sistemas y Telecomunicaciones</h2>
      </a>
    <nav>
      <ul>
        <li><a href="index.html" class="selected">Portafolio</a></li>
        <li><a href="about.html">About US</a></li>
        <li><a href="contacto.html">Contacto</a></li>
      </ul>         
    </nav>
    </header>
    <div id="wrapper">
    <section>
      <ul id:"galeria">
        <li>
          <a href="img/numbers-01.jpg">
            <img src="img/numbers-01.jpg" alt"">
            <p>Experimentacion con color y textura.</p>
          </a>
        </li>
         <li>
          <a href="img/numbers-02.jpg">
            <img src="img/numbers-02.jpg" alt"">
            <p>Playing with blending modes in Photoshop.</p>
          </a>
        </li>
         <li>
          <a href="img/numbers-06.jpg">
            <img src="img/numbers-06.jpg" alt"">
            <p>6 EspacialDFFSDFSDFSD sdfdfd.</p>
          </a>
        </li>
         <li>
          <a href="img/numbers-09.jpg">
            <img src="img/numbers-09.jpg" alt"">
            <p>Muchos colores y el 9 sdffsdfffds.</p>
          </a>
        </li>
         <li>
          <a href="img/numbers-12.jpg">
            <img src="img/numbers-12.jpg" alt"">
            <p>Creando formas usando repetición.</p>
          </a>
        </li>
      </ul>
    </section>

    <footer>
      <a href="http://www.twitter.com/lanchco"><img src="img/twitter-wrap.png" alt="Twitter Logo"></a>
      <a href="http://www.facebook.com/lanchco"><img src="img/facebook-wrap.png" alt="Facebook Logo"></a>
      <p>&copy; 2014 Mauricio Lancheros.</p>
    </footer>
    </div>
  </body>
</html>
Oscar Mauricio Lancheros Murillo
Oscar Mauricio Lancheros Murillo
3,608 Points

Wait a second, the first css is not mine, please check this one:

/*******************************
 GENERAL
********************************/

body {
  font-family: 'Ubuntu', sans-serif;
}

#wrapper {
  max-width: 940px;
  margin: 0 auto;  
  padding: 0 5%;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}


/*******************************
HEADING
********************************/

header {
  margin: 0 0 30px 0;
  padding: 5px 0 0 0;
}

#logo {
  text-align: center;
  margin: 0;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  margin: 15px 0;
  font-size: 5em;
  font-weight: normal;
  line-height: 1.2em;
}

h2 {
  font-size: 1.3em;
  margin: -5px 0 0;
  font-weight: normal;
}

/*******************************
NAVIGATION
********************************/

nav {
  text-align: center;
  padding: 10px 0;
  margin: 20px 0 0;
}

/*******************************
FOOTER
********************************/

footer {
  font-size: 0.75em;
  text-align: center;
  clear: both;
  padding-top: 50px;
  color: #ccc;
}

/*******************************
Pagina: Portafolio
********************************/

#galeria {
  margin: 0;
  padding: 0;
  list-style: none;
}

#galeria li {
  float: left;
  width: 45%;
  margin: 2.5%;
  background-color: #f5f5f5;
  color: #bdc3c7;
}

#galeria li a p {
  margin: 0;
  padding: 5%;
  font-size: 0.75em;
  color: #bdc3c7;  
}

/*******************************
COLORS
********************************/


body {
  background-color: #fff;
  color: #999;
}

header {
  background: #58D3F7;
  border-color: #58ACFA; 
}

h1,h2 {
  color: #fff;
} 

a {
  color: #00BFFF;
}

nav {
  background:#00BFFF;
}

/*Nav Link*/
nav a, nav a:visited {
  color:#fff;
}

/*Selected Nav Link*/
nav a.selected, nav a:hover {
  color: #0174DF;
}

You galeria id should be id="galeria"

(in your html index page)

Also in your main css there is a hexadecimal colour that you have forgot to put the # prefix on

Lynda Irawaty
Lynda Irawaty
2,948 Points

I have the same problem, manage to make the gallery float to be 2 columns but the bullet points remain no matter I made the list-style none. Anyone please help?

https://w.trhou.se/xuttxiadq7