• Resolved lgice

    (@lgice)


    I have been working on trying to get my posts on the main page to look like this Link but for some reason everything i try it doesnt come out right the background color is not stretching the whole length of the div.

    my site is realgamers.org

    any help would be great!

Viewing 1 replies (of 1 total)
  • You need to research html and css. The mods are going to tell you they don’t give support over this type of thing. Which is for good reason. Just go to W3c and research divs on the html and css side. You can always use Google too.

    As a tip here is a simple example, but please research what I mentioned above.

    <article class="post">
     <h2>Title</h2>
     <div class="datemeta">date by admin</div>
     <p>
     postbody
     </p>
    </article>
    .post {
     width: 100%;
     display block;
     background: #EEE;
     border-bottom: #CCC 1px dashed;
    }
    
    .datemeta {
     width: 100%;
     background: #333;
     display: block;
     margin: 5px 0;
     padding: 5px;
    }
    
    .post p {
     margin: 4px 0;
    }

    I’m not saying this is the answer. It is just an idea of what to look for and what to be thinking like. This is very over simplified.

Viewing 1 replies (of 1 total)
  • The topic ‘Help with theme development’ is closed to new replies.