I have a Wordpress CSS/PHP Site but the CSS isn't calling the PHP correct?

Discussion in 'HTML & Website Design' started by razz.jazz, Jul 25, 2011.

  1. #1
    I have the theme, custom made, but the style.CSS isn't calling the PHP correct. Can anyone help?

    This is what is happening

    [​IMG]

    This is what I want

    [​IMG]
     
    razz.jazz, Jul 25, 2011 IP
  2. suryawl

    suryawl Peon

    Messages:
    54
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    0
    #2
    basically there are 3 files you needed.

    header.php
    index.php
    sidebar.php

    header is the top, index is the content. sidebar will be the menu

    usually they're called from index.php. look to one of the default themes like twenty ten

    the structure is like this

    <div id=wrapper> --> this will be the wrapper for all the site

    <div id=header>
    header, logo and stuff
    </div>​

    <div id=main>
    <div id=content>
    </div>​
    <div id=sidebar>
    </div>​

    </div>​

    </div>

    in your case, i think you put header in the different div than content and menu. that's why the header in center and the other on the left

    on the other hand, you put content and menu in the same div, that's why they're on top of each other

    hope that helps
     
    suryawl, Jul 25, 2011 IP