• I recently had occasion to look at my blog in lynx and noticed that the theme I’m using, https://webgazette.co.uk/wordpress-themes/chameleon/ loads the sidebar before the main content. It results in posts being three screens down under the sidebar. I’ve been trying to rework it so that the posts will load before the sidebars so that it will look better in a text browser and so that SE crawlers will see the posts as early in the page as possible.

    Fortunately I’ve been doing this on a separate test blog because all I’ve managed to do so far is have the sidebar load centered directly *under* the post content. I don’t doubt that I’m missing something simple but it’s been driving me to distraction.

    I’d really appreciate some ideas how to get this accomplished without going the rest of the way insane.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Move

    <?php get_sidebar(); ?>

    down to right above

    <?php get_footer(); ?>

    in archive.php, archives.php, index.php, links.php, page.php, search.php, single.php

    Thread Starter selif

    (@selif)

    Tried that.

    The posts loaded first alright. However when the sidebar loaded the top of it was even with the bottom of the last post on the page.

    …still plugging away

    Any more info on this? Google sees my entire menu before the page content.

    I have noticed that some of the available themes pay attention to this and a lot do not. Unfortunately, I picked the wrong one and my client now likes the way it looks. Google has dumped our page way down in rank compared to when we ran the default WP theme.

    On your Firefox browser, you can get a look at how Google sees your page by clicking View / Page Style / No Style.

    Now I need a tutorial on how to correct this mess. It’s easy to reposition the sidebar down on the different php scripts:
    <div id=”leftnav”>
    <?php get_sidebar(); ?>
    </div>

    Making the sidebar show up at the top left through the use of the stylesheet is the hard part.

    Anyone been through this? Tutorials?

    If you google for it – you cand find quite a few examples of 2 and 3 column design where content comes first.
    search “content first”

    I csn find them, that’s easy. Understanding the differences that make this particular feature work is the hard part.

    Is this the way to get css to put the left sidebar back to the top?

    #left {
    position: absolute;
    top: 35px;
    float: left;
    width: 150px;
    margin: 5;
    padding: 5;
    }

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Putting Content First’ is closed to new replies.