Forum Replies Created

Viewing 15 replies - 1 through 15 (of 28 total)
  • Thread Starter _ze

    (@_ze)

    Bump, in hopes someone can shed a little light on this for me…

    I would need some information, in order to assist you. For one, I have no clue what theme you are using, or if you are working with a custom theme. Each theme is different. Your original question was very vague, hence the vague response.

    I noticed a lot of unnecessary, empty divs looking through your source code. I’m sure it was difficult to find what you were looking for. Sorry I didn’t explain it clearer from the beginning. 😉

    Glad you got it fixed, though!

    Cheers!

    Now that you have the cache plugin turned off, your changes to loop.php will be viewable. Notice that there are several instances of
    <?php twentyten_posted_on(); ?>
    within loop.php. Read the notations to figure out where each instance is displayed on the site.

    This explains how to add custom header functionality to an existing WP theme.

    First, change
    #content .cbox { float:right; }
    to
    #content .cbox { float:left; }

    Then change
    #content { width:740px; }
    to
    #content { width:605px; }

    A few things…

    • This has nothing to do with your operating system.
    • This has nothing to do with your browser version.
    • Windows 7 is a great OS…the best Microsoft has ever made.
    • The functions.php file is in the 2010 theme directory. /wp-content/themes/twentyten/functions.php
    • I highly recommend editing your theme files locally on your hard drive, then uploading them to your server via an ftp program. This way you can keep a copy of the original, in case you goof something up.

    If changes you are making to your theme files appear to be “delayed” on the live site, you either need to clear your browser cache, or you are using a caching plugin within WordPress.

    To clear your browser cache in IE, follow these instructions:

    • Hold down Shift and select the Refresh button on the toolbar
    • For Serious Clearing: If you are having problems clearing out the cache, then force it by choosing from the menu Tools > Internet Options> Temporary Files. Select Delete Temporary Files. You can choose the checkbox to delete all Internet files, but you might not want to as that will also clear all your passwords and cookies, but if you are having trouble viewing the changes on your page, go all the way.

    I would also recommend that you install at least one other browser, to assist you with testing your site. I recommend Firefox.

    Feel free to post your website url.

    Judging by your screenshot, I’d say it’s the Serious Blogger theme.

    Yes, this is entirely possible.

    That sure is a confusing way to put divs side-by-side. Here’s how I do it:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
    <html lang="en">
    <head>
        <title></title>
        <style  TYPE="text/css">
            .container { width: 960px; margin: 0px auto; background-color: #999; }
            .main-content { width: 540px; float: left; display: inline; margin-left: 10px; margin-right: 10px; background-color: #F3F3F3; }
            .sidebar { width: 380px; float: left; display: inline; margin-left: 10px; margin-right: 10px; background-color: #CCC; }
            .clear { clear: both; display: block; height: 0px; overflow: hidden; visibility: hidden; width: 0px; }
        </style>
    </head>
    <body>
        <div class="container">
            <div class="main-content"><h1>Main Content</h1></div>
            <div class="sidebar"><h1>Sidebar</h1></div>
            <div class="clear"></div>
        </div>
    </body>
    </html>

    Sorry, to be more specific, the detailed date code is in the functions.php file, but if you want to completely remove it, the easiest way would be to remove <?php twentyten_posted_on(); ?> from loop.php.

    I’m not sure I understand your second question.

    I believe the date code is in the functions.php file.

    I should add that if you view the source on your blog, and compare it to the templates that you have posted here, it does not match up. When I view the source, I am seeing the sidebar div is contained within
    <div class=”narrowcolumn” role=”main”> and within the post div, as well.

    Have you tried adding </div> or </div></div> before <?php get_sidebar(); ?>? The problem is that your sidebar and footer are still being contained within the “narrowcolumn” div.

    Honestly, from what you have posted, I can not tell what is causing the sidebar to post below the main content. In my experience, this has always been caused by a misplaced, or missing </div>, or by not clearing a div properly, with (in your case) <div class=”clear”></div>.

    I hope that someone else might be able to see what I am missing, or that you will be able to figure it out with some trial and error.

Viewing 15 replies - 1 through 15 (of 28 total)