No sidebar in posts some minor spacing issues
-
Hey guys, I have two issues with my WordPress blog which I would assume are fairly basic.
I’ve been learning my way around the CSS and code, but if you could guide me with these issues I would be extremely grateful.
My blog is here: http://65degrees.com.au/blog/
1. No sidebar in my post pages.
For some reason the sidebar only appears on the index page. Whenever you actually go into a post the sidebar is nowhere to be found.
Example: http://65degrees.com.au/blog/2010/02/we-are-here-for-the-love-of-art-and-music/
2. A basic spacing issue
I would like to close the gap between the pink header section and the post-title (‘We are here for the love of art and music’. As you can see there is probably around 50px gap at the moment.
The gap is in cyan blue here: http://65degrees.com.au/blog/
The gap is in purple here: http://65degrees.com.au/blog/2010/02/we-are-here-for-the-love-of-art-and-music/
Any help you could provide would be greatly appreciated. Thank you.
-Lachlan.
-
1. Try adding
<?php get_sidebar();?>
to your theme’s single.php template file.2. In single.php, try removing:
<div class="navigation"> <div class="alignleft"><?php previous_post_link('« %link') ?></div> <div class="alignright"><?php next_post_link('%link »') ?></div> </div>
from the top of the Loop. In index.php, try removing the
<br /><br />
– again at the top of the LoopThank you very much. Issue 2 is resolved though Issue 1 still stands.
Following the recommended steps, it seems like I can only get the sidebar to appear above or below the post.
Is this to do with the placement of the get_sidebar?
Here is the current single.php code:
[Code moderated as per the Forum Rules. Please use the pastebin]
Sorry that was the wrong code.
Here is single.php:
[Code moderated as per the Forum Rules. Please use the pastebin]I have resolved this by changing the call of ‘widecolumn’ to ‘narrowcolumn’.
I also had an open DIV take.
Thank you for all your support.
- The topic ‘No sidebar in posts some minor spacing issues’ is closed to new replies.