Need Help Modifying a Wordpress Footer

by ErnieB
3 replies
Using the "Twenty Ten" theme ( default included theme ). I added some anchor text code in the footer.php file however when displayed it places some of the links onto the next line underneath. I need to figure out how to widen the section where the links are being placed so they all stay on one line in the footer. ( the links are started on the right side but when they carry on to the next line they goto the right side )

Below is the code and where I placed my links/anchor text

Any help appreciated. THANKS

Code:
<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the id=main div and all content
 * after.  Calls sidebar-footer.php for bottom widgets.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */
?>
	</div><!-- #main -->

	<div id="footer" role="contentinfo">
		<div id="colophon">

<?php
	/* A sidebar in the footer? Yep. You can can customize
	 * your footer with four columns of widgets.
	 */
	get_sidebar( 'footer' );
?>

			<div id="site-info">
				&copy; 2010 <a href="<?php echo home_url( '/' ) ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
					<?php bloginfo( 'name' ); ?>
				</a>
                                 </div><!-- #site-info -->
                                  <a href="http://www.mylink.com">Anchortext</a>
			          <a href="http://www.mylink.com">Anchortext</a>
                                  <a href="http://www.mylink.com">Anchortext</a>
                                   <a href="http://www.mylink.com">Anchortext</a>
		</div><!-- #colophon -->
	</div><!-- #footer -->

</div><!-- #wrapper -->

<?php
	/* Always have wp_footer() just before the closing </body>
	 * tag of your theme, or you will break many plugins, which
	 * generally use this hook to reference JavaScript files.
	 */

	wp_footer();
?>
</body>
</html>
#footer #modifying #wordpress
  • Profile picture of the author Rich Struck
    Too lazy to look right now but I think you need to be looking at the CSS file instead of this. Use the editor to open it and then look for something that says something about div site info and there is probably a width setting. Again, too lazy to look now but that is where I'd start.
    Signature

    {{ DiscussionBoard.errors[2352761].message }}
  • Profile picture of the author Owen Smith
    You can just use widgets and use a back link or link list plugin. Just edit the CSS widget coding. It's simple just edit the px. Pm me your details for more help. More than happy ton help.
    Signature

    All the Hottest eBooks, Graphics, Software, Videos, Articles, and Templates you want with PLR and MRR. Join PLR Assassin Today!

    {{ DiscussionBoard.errors[2352765].message }}
  • Profile picture of the author ErnieB
    Thanks, I was able to find some widths for the 2 sections and play around with them to get it to work.
    {{ DiscussionBoard.errors[2352783].message }}

Trending Topics