georginaswancom
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Layout appearing lopsided, but only for 'pages'?Thank you! That has worked too, only…I seem to now be having trouble with the sidebar! It appears in the correct place on my ‘pages,’ but is much too far on the left on my landing page. Help?!
Forum: Fixing WordPress
In reply to: Layout appearing lopsided, but only for 'pages'?That has sorted it, thank you!
Unfortunately, everything has now gone off center! Each of the sections (header, sidebar, content) seems to be left aligned – if you go full screen you’ll see what I mean.
Any ideas on why that might be happening?!
Thanks again 🙂
Forum: Themes and Templates
In reply to: Empty space in content area above post – margin? Or what? Help!Anyone?
Forum: Themes and Templates
In reply to: Empty space in content area above post – margin? Or what? Help!Negative margin almost worked, but then the post title gets covered up by the image, like you said before.
Okay, here is the whole of the Main Index Template, index.php
<?php get_header(); ?> <?php /* this is to deal with author pages */ if(isset($_GET['author_name'])) : $curauth = get_userdatabylogin($author_name); // NOTE: 2.0 bug requires get_userdatabylogin(get_the_author_login()); else : $curauth = get_userdata(intval($author)); endif; ?> <div id="content"> <?php if (have_posts()) : ?> <?php if (!is_single() && !is_page()) echo "<h2 class=\"pagetitle\">"; if (is_home()) { echo ''; } elseif (is_category()) { echo 'Posts categorized “' . single_cat_title('', false) . '”'; } elseif (is_tag()) { echo 'Posts tagged “' . single_tag_title('', false) . '”'; } elseif (is_author()) { echo 'Posts by ' . $curauth->nickname; } elseif (is_day()) { echo 'Posts from ' . get_the_time('F jS, Y'); } elseif (is_month()) { echo 'Posts from ' . get_the_time('F Y'); } elseif (is_year()) { echo 'Posts from ' . get_the_time('Y'); } elseif (is_time()) { echo 'Posts from a particular time on ' . get_the_time('F, jS, Y'); } ; if (!is_single() && !is_page()) echo "</h2>"; ?> <?php while (have_posts()) : the_post() ?> <?php if (is_single() || is_page()) { /* for single-item pages, make that thing big */ ?><font size="3"><b><?php the_title(); ?></font></b><br><font color="#666666"><?php the_time('j F Y')?></font> <div class="post" id="post-<?php the_ID(); ?>"> <?php } else { /* otherwise, make it small since you'll have one of the headings above */ ?> <div class="post" id="post-<?php the_ID(); ?>"> <font size="3"><b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b></font><br><font color="#666666"><?php the_time('j F Y')?></font> <?php } ?> <div class="entry"> <?php the_content('More... »'); ?> </div> <?php if (is_single() || is_page()) { ?> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> <?php } ?> <p class="postmetadata"> <br> <img src="http://georginaswan.com/wp-content/uploads/2011/01/signature.png"></font><p> <?php comments_popup_link('Comment', '1 comment', '% comments', 'comments-link', ''); ?><br /> <?php /* pages don't have categories or tags */ if (!is_page()) { ?> <?php /* } */?> <?php if (get_the_tags()) the_tags('Read other posts tagged ', ', ', ''); ?><?php } ?></p> </div> <?php comments_template(); ?> <center><br><p> <script type="text/javascript"><!-- google_ad_client = "pub-1109230667366730"; /* Images only banner */ google_ad_slot = "6288875316"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <br><p><br></center> <?php endwhile; ?> <?php if (!is_single() && !is_page()) { ?> <div class="navigation"> <div class="goback"><?php next_posts_link('Older'); ?></div> <div class="goforward"><?php previous_posts_link('Newer'); ?></div> </div> <?php } ?> <?php else : ?> <h2>Not Found</h2> <p>Sorry, but you are looking for something that isn't here.</p> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>Forum: Themes and Templates
In reply to: Empty space in content area above post – margin? Or what? Help!Thank you for your help, I really appreciate it!
Changing the value of the margin/s is really making no difference at my end. Is the problem in this bit?
<?php while (have_posts()) : the_post() ?> <?php if (is_single() || is_page()) { /* for single-item pages, make that thing big */ ?> <font size="3"><b><?php the_title(); ?></font></b><br><font color="#666666"><?php the_time('j F Y')?></font> <div class="post" id="post-<?php the_ID(); ?>"> <?php } else { /* otherwise, make it small since you'll have one of the headings above */ ?> <div class="post" id="post-<?php the_ID(); ?>"> <font size="3"><b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b></font><br><font color="#666666"><?php the_time('j F Y')?></font> <?php } ?> <div class="entry"> <?php the_content('More... »'); ?> </div>Forum: Themes and Templates
In reply to: Empty space in content area above post – margin? Or what? Help!Hello, thank you for your help.
I’ve already tried changing that ‘2’ to a ‘0’, and removing it all completely so that there are only two ‘0’s there, but it’s making no difference!
Forum: Themes and Templates
In reply to: Empty space in content area above post – margin? Or what? Help!Anyone?!