Support » Fixing WordPress » how to reduce the width of footer in twenty eleven

  • Hi everyone,

    I have been using twenty eleven theme for my blog. How do I reduce the width of the footer? The header and body is 900 px but the footer is very wide. When I try to change the width by adding width:900px to the site-generator in styel.css, the footer is moved to left side of the page and not at the center.

    Thanks for the help!

    Priya

Viewing 2 replies - 1 through 2 (of 2 total)
  • please check the html of your site for errors: http://validator.w3.org/

    without being able to see the problem live, it is difficult to comment on the cause or make suggestions.

    can you post a link to your site?

    Thread Starter priyankabhar

    (@priyankabhar)

    Thank you for replying. I used

    #colophon {
    	margin:auto;
    	width: 900px;
    }
    #site-generator {display:none; }

    to center my footer which I included as under:

    <?php include(ABSPATH . "../footer.php"); ?>
    			<div id="site-generator">
    				<?php do_action( 'twentyeleven_credits' ); ?>
    				<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyeleven' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?></a>

    Is this the right way?

    Also I get many errors while validating, and most of them are from wordpress like

    Line 238, Column 189: Attribute pubdate not allowed on element time at this point.
    …me=”2012-12-22T03:46:55+00:00″ pubdate>December 22, 2012</time><span class…
    Attributes for element time:

    How can I remove such errors or can I just leave them as they are? I validated for HTML5.

    Thanks,
    Priya

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to reduce the width of footer in twenty eleven’ is closed to new replies.