WordPress.org

Forums

can't make it work (10 posts)

  1. Zareb
    Member
    Posted 11 years ago #

    just installed wordpress and now i'm trying to make it look the way i want. i know exactly how i want it to look. want it to be like this:
    http://ninui-hen.net/show.jpg
    also i'm using this tutorial:
    http://codegrrl.com/tutorials/php/dynamic_includes.php
    which means everything from <div id="rap"> and up and the last closing tags have to be removed in the indexfile of wordpress. i have no idea how to do this. whatever i do i get errors. can anyone help? i really don't get those tags used in wordpress. i tried looking in the template page i don't even understand most explanations of it. :-/

  2. davidprince
    Member
    Posted 11 years ago #

    Check this out:
    http://www.tamba2.org.uk/wordpress/graphicalcss/
    Hope it helps!

  3. Mark (podz)
    Support Maven
    Posted 11 years ago #

    You probably just need The Loop:
    http://wiki.wordpress.org/TheLoop

  4. Matt Mullenweg
    Troublemaker
    Posted 11 years ago #

    Zareb, could you post the errors you're getting? It sounds like you're having a PHP include problem, not a CSS problem.

  5. clay
    Member
    Posted 11 years ago #

    Does the top of index.php look like this:
    <?php
    /* Don't remove this line. */
    require('./wp-blog-header.php');
    ?>

  6. clay
    Member
    Posted 11 years ago #

    If you are trying to split your index file into 3: header, index, footer
    Index.php should have:
    <?php include('wp-includes/header.php') ?>
    <?php include('posts.php') ?>
    <?php include('wp-includes/footer.php') ?>

    The file in the middle can be whatever you want to appear between the header and footer.
    Header.php should be everything from(and including) the <div id="content"> up
    and the footer should be from
    </div>
    <div id="menu">

    To the end

  7. Anonymous
    Unregistered
    Posted 11 years ago #

    Just a thought. Start with this: http://www.atthe404.com/trident/ Work on an HTML file. Change the background colors from whatever they are to transparent. Delete the calendar and search functions. Delete most of the blog roll links. Set a total height of 380 pixels on #rap-- this will more or less center the layout at 800 x 600. At 1040 it will center horizontally 20px down from the top viewport. You'll have the 3-cols you seek. At this point you are making no change to index. php other than deleting calendar and search.
    Going further with it gets more complicated. Get the above basic structure working first.
    wildthing
    http://www.dlaakso.com/blog

  8. Anonymous
    Unregistered
    Posted 11 years ago #

    Along these lines perhaps:
    http://www.dlaakso.com/blog/trident/untitled.html
    I set a height of 380px on #rap for my own purposes. Delete that height dimension. Follow Root's suggestions. HTH.
    wildthing
    http://www.dlaakso.com/blog/

  9. Root
    Member
    Posted 11 years ago #

    For very crude vertical positioning when we get there a bit of margin-top in #rap will do it.

  10. Anonymous
    Unregistered
    Posted 11 years ago #

    Okay. In this example no height was set on #rap and *no* change whatsoever was made to the index.php
    http://www.dlaakso.com/blog/trident/untitled.html
    wildthing
    http://www.dlaakso.com

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.