Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Fixed it!

    Took me a while to realise that the “next post” link, or rather the absence of one, was what was causing the problem, because it automaticallty reduced the width on the screen occupied by that particular div.

    I created a new class in the stylesheet called navigationsingle, set the width to 690 pixels, and edited the single.php to look for this one instead of the regular navigation class.

    Looks fine on this PC – I’ll try it from home to make sure that different resolutions don’t mess it up! What a way to spend a lunch break!

    I’ve been doing some more messing around, and tried removing the sidebar and centering all the single post views on their own pages. There is a definite shift to the right of the last post, which seems to be causing this problem. In addition, the last post seems to be positioned slightly higher on the page than the preceding ones. I think this is due to the fact that there’s no “next post” link available, because I’m at the end of the psoting activity.

    I’d really appreciate some help with this – I’ve tried some other remedies like removinng some of the ad code which I placed in the sidebar, switching themes and switching back etc – no joy!

    Check this post for details of how to get the sidebar to display everywhere.

    To get the sidebar to appear in on all posts, do the following:

    In the sidebar.php, change

    <?php
    if ( is_home() || is_page() ) { ?>

    to

    <?php
    if ( is_home() || is_page() || is_single() ) { ?>

    In single.php, change

    <div class="wcol"><!-- Begin of the wide column -->

    to

    <div class="ncol"><!-- Begin of the narrow column -->

    and then add <?php get_sidebar(); ?> above the similar command to get the footer.

    Hope this helps

    I’ve just started having the same problem, and again, I can’t see the code which is liked to in my header.php. It only started after I finished messing around with the layout to try to introduce a new, smaller sidebar to single post pages.

    So I’ve probably changed something, but I thought that I’d put it all back again. Happens with whatever the last post is, regardless of content. I’ve checked all the dimensions to make sure that none of the post elements are too wide for the columns, which I know is what normally causes this, and I’ve tried removing the sidebar from all the single post pages to see what effect that had. when I do that, the last post is centred on the screen, but all the rest appear on the left hand side, as they would do if the sidebar was there.

    Anyone got any more ideas please?

    Thread Starter bluntpencil

    (@bluntpencil)

    Done it! Looks great now – just shifted 5 pixels from one column to the other, and it’s spot on!

    Thread Starter bluntpencil

    (@bluntpencil)

    I think I may have found out what the problem is. Having found all the Equix files which came in the original download, I can see that it has two stylesheets, one apparently specific to IE. Looks like I could have been editing the other one, which means that I wouldn’t be able to see the results as they’re browser specific!

    I’ll try this one and post how I get on.

    Thread Starter bluntpencil

    (@bluntpencil)

    Equix. I’m going to try and mess with the stylesheet again and see what I can come up with. Maybe the fact that I was at work rather than at home when I was trying to make my changes today has something to do with it?

    Thread Starter bluntpencil

    (@bluntpencil)

    Thanks for the responses folks – very useful! Can I ask you opinons on the other option I mentioned, namely that of altering the width of the theme’s columns to allow for the large images? Any ideas why I’m not seeing any changes after editing the stylesheet?

    Katie1 posted most of the solution already. I just installed this theme yesterday, and had the same problem.

    Equix uses the get_links function, which is defaulted to -1 and therefore shows all links under the “Blogroll” heading.

    To change it, I opened up sidebar.php, scrolled down to the links section (which is clearly marked), copied the code within it and then pasted it directly beneath the original and edited the name “blogroll” to something else in my new code.

    Then, I found the “-1” integer in the original code, which is the default setting, and changed it to “1” in the “Blogroll” section. This mirrors the links category number in my dashboard.

    In the code that I’d copied and pasted, I changed the “-1” to “2”, which is the dashboard number of my new category.

    Here’s the code I ended up with:

    <li><!-- Links -->
    <h2><?php _e('Blogroll'); ?></h2>
    <ul>
    <?php get_links(1, '<li>', '</li>', '', TRUE, 'url', FALSE); ?>
    </ul>
    <!--Updated Link List starts here-->
    <h2><?php _e('Webroll'); ?></h2>
    <ul>
    <?php get_links(2, '<li>', '</li>', '', TRUE, 'url', FALSE); ?>
    </ul>
    <!--and ends here-->

    </li><!-- End of Links -->

    I guess you just keep going ad infinitum!

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