How to Edit Your Website’s Footer in WordPress

Posted In: Tutorials, Wordpress, By , 5 Comments
advertisement

The cool thing about WordPress is all of the editing you can do to personalize your site. If you are using a theme that you really like, but certain areas don’t appeal to you, you can always change those areas by editing the CSS stylesheet. In this tutorial, I am going to show you how to edit your website’s footer in WordPress. We will do this by editing the CSS in the CSS stylesheet. So, let’s begin.

 

 

 

 

Step 1

How to Edit Your Website's Footer in WordPress

Open your dashboard and click the Appearance tab. In the Appearance section, click the Editor link. That will load all of the templates for the theme you are using. Down at the bottom of this page, you will see the CSS Stylesheet. Click the Stylesheet (style.css) to load the CSS stylesheet in the editor window.

Step 2

How to Edit Your Website's Footer in WordPress

Now you will need to locate the footer in the stylesheet. Scroll through the CSS code until you come upon #footer. Once you find this piece of code, stop right there. This is the part we will edit.

advertisement

Step 3

How to Edit Your Website's Footer in WordPress

Your code may be a bit different than mine because of the theme you are using. However, it should be along the same lines of code. In this snippet of code, you will see the font style, text color, text size, and more for the footer. For example, my footer code looks like this:

#footer {
	clear: both;
	float: left;
	width: 100%;
	padding: 10px 0;
	text-align: center;
	font-size: 11px;
	border-top: 1px solid #888;
	background: #fff;
	}

So, basically, this is saying that anything in the footer will “Float Left”, the width of the footer is 100%, meaning is will stretch and shrink to the size needed. The footer also has a 10px padding, which means it will not touch the border within 10px. The text is set to align center and the font size is set at a 11px. The border top is set at 1px and is using a solid color border. The background of the footer is white. See the image below to see the footer of my website.

Step 4

In order to change your footer, you will need to edit the CSS of your footer. If you want a different color background, you will need to delete the hex code and enter the color you want. If you want to change the text, edit the code of the text. If yours is like mine and don’t have the options to change the font color and font style, you will have to add that piece of code. For example, if you wanted to change the color of the text, you would add:

color: #ffffff (or whatever the code is)

After you have updated your CSS stylesheet to reflect the new things you want to add, you will need to click the Update File button at the bottom of the page to save the new code. Open your page in a new tab so you can refresh and see your changes as you make them.

About the Author:

Web designer/developer holding Masters degree in IT, currently living in Australia. Passionate about Wordpress, PHP, Fireworks and Jquery.
  • http://www.durhamwebdesigner.com Larry James

    Good tutorial, you have shown how simple it is to edit the style of your themes footer. I thinking more about how to edit the contents of the footer. I use StudioPress themes and am able to edit the contents of the footer using the Genesis Easy Hook plugin to edit the footer.

  • http://www.creare-webdesign.co.uk/ Cathy Dutton

     This is a nice clean tutorial for
    people who are new to wordpress, or css in general. All to often
    customers are frustrated at the lack of options to edit anything
    other then the main content in wordpress templates. An alternative
    for people who don’t want to edit the template files would be to
    use a theme where the footer content is editable as a widget. 

  • Stephan Lueck

    why to use ‘clear’ in your in the footer, nice way is the clearfix methode

  • ScriptTease

    Thank you, it worked. I was able to center my 468×49 ad inside my footer.

  • ju_castilho

    gvmg – Recently i have been REALLY lacking in cash and debits were killing me from all sides. That was Until I learned to earn money on the internet. I visited surveymoneymaker d-o-t net, and started doing surveys for money, and surely i’ve been greatly more able to get around financialy! i am happy, that i did this.. With all the financial stress these years, I really hope all of you will give it a chance. NI26