Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Biks

    (@biks)

    What I’m doing is building a totally new site with WordPress as my starting point. (Only using PHP, no mysql at this point) I’m using the same structure (header.php, sidebar.php, etc.) but having the parts come together using my own php code. (very simplified versions)

    The reason why I’m doing this is because I’m a beginner when it comes to CSS and php. When I first took a peek at WordPress, it was overwhelming. (at least for a beginner like me) Now that I’ve done this, I know exactly how WordPress puts it’s parts together.

    I’ve finally got something that looks and sorta behaves like WordPress. The next step is to actually insert WordPress and alter a theme to match my site. (easy peasy – see?)

    The next step is to figure out how the mysql aspect works within WordPress. (I’m sure I’ll have questions on that too.) ??

    Thread Starter Biks

    (@biks)

    I’m attempting to redo everything in simplier php with no mysql. I’m assuming the get_header(); are related to mysql. (getting header data from the mysql database?) When I run anything with get_ in the code, nothing works. (php is working on my server/machine)

    I finally got my columns to align with float. I noticed to get my footer to align correctly below everything, I had to include “clear: both; in the #footer tag in my css file. No idea why this worked.

    Like I said, I’m attempting to strip away everything that’s not needed from the default theme to make a simple layout, yet using the methods used in WordPress. (I’m old school who grew up with html tags. This is forcing me to get my head on straight with css.)

    Thread Starter Biks

    (@biks)

    I guess I wanted to know how does the default WordPress theme align the two columns? Where in the style.css does it mange to do this? Same thing for centering the whole mess. This is what I’m seeing:

    /* Begin Structure */
    body {
    margin: 0;
    padding: 0;
    }

    #page {
    background-color: white;
    margin: 20px auto;
    padding: 0;
    width: 760px;
    border: 1px solid #959596;
    }

    I keep thinking I’m going to find page: center. Ah ha…found this though:

    .narrowcolumn {
    float: left;
    padding: 0 0 20px 45px;
    margin: 0px 0 0;
    width: 450px;
    }

    OK, .narrowcolumn is doing the floating.

    Thread Starter Biks

    (@biks)

    Thanks for the tips. Yea..it was by uploading it raw data verses binary took care of everything. Moshu: were you saying to change the name in the /*comments*/ section? Why would that have any bearing on how it’s loading? I know it changes the title of the page on the select themes page, but even I know anything with /* */ has nothing to do with rendering code.

Viewing 4 replies - 1 through 4 (of 4 total)