• kingfishturnaround

    (@kingfishturnaround)


    I am having a difficult time figuring out how to shift the footer(All content/reserved etc..) to the bottom of my front page where it is currently out of place and covering post #10. I unknowingly messed up and am obviously not skilled at correcting the situation. Everything seems to be fine though on my archived pages. I believe my problem lies in one of the style css. – /* =home */ lines but Im not savvy enough to recognize what is happening. Can someone lend a hand please. Thanks M.
    upstreamrun.com

Viewing 8 replies - 1 through 8 (of 8 total)
  • Mark Ratledge

    (@songdogtech)

    Looks like an out of place </div> in the theme file that home uses: [Invalid]Markup Validation of upstreamrun.com – W3C Markup Validator. Scroll down in the validation report to see line numbers and source code.

    Thread Starter kingfishturnaround

    (@kingfishturnaround)

    Songdogtech,
    Thank-you, M

    havaintojamaailmasta

    (@havaintojamaailmasta)

    I′m having a similar kind of problem. My footer is aligning ok when I′m on home page, but when I′m on single pages the footer alignes to the very left side. This is not good. How can I fix the problem? Help please.
    My site is https://www.joeltakala.com

    Mark Ratledge

    (@songdogtech)

    Same thing, broken, extra and missing tags: [Invalid]Markup Validation of joeltakala.com about-contact – W3C Markup Validator. Scroll down in the validation report to see line numbers and source code.

    havaintojamaailmasta

    (@havaintojamaailmasta)

    Songdogtech,
    Thanks for your advice. But I have one more question. How do I fix these problems? I′m not good at WordPress. Do I have to fix my style css or some php files?

    Mark Ratledge

    (@songdogtech)

    Those errors are in your theme files, like index.php and single.php. Compare those two files to find the differences in the tags, and use the validator to help. You can ignore the unencoded ampersand errors, but fix the <div> and <li>errors

    havaintojamaailmasta

    (@havaintojamaailmasta)

    Hi again.
    I got fixed my single.php. I don′t know if I did it right or not, but anyways the footer alignment is fixed now. But I′m still having a problem with my sidebar which I assume its under page.php on my Autofocus theme. I do not see any problem on the code below, but still the footer is not align right?!

    <?php get_header() ?>
    
    	<div id="container">
    		<div id="content">
    
    <?php the_post() ?>
    			<div id="post-<?php the_ID(); ?>" class="<?php sandbox_post_class() ?>">
    				<h2 class="entry-title"><?php the_title(); ?></h2>
    				<div class="entry-content">
    <?php the_content() ?>
    
    <?php wp_link_pages("\t\t\t\t\t<div class='page-link'>".__('Pages: ', 'sandbox'), "</div>\n", 'number'); ?>
    
    				</div>
    
    				<div class="entry-meta">
    <?php edit_post_link(__('Edit', 'sandbox'),'<span class="edit-link">','</span>') ?>
    				</div>
    
    			</div><!-- .post -->
    
    <?php if ( get_post_custom_values('comments') ) comments_template() // Add a key+value of "comments" to enable comments on this page ?></div>
    </div>
    
    		</div><!-- #content -->
    	</div><!-- #container -->
    
    <?php get_sidebar() ?>
    <?php get_footer() ?>
    Mark Ratledge

    (@songdogtech)

    Read the errors on the validation report and get a fresh copy of your theme and compare the versions of page.php.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘spacing/footer problem’ is closed to new replies.