Title: adding HTML to footer.php
Last modified: August 22, 2016

---

# adding HTML to footer.php

 *  [dghaddon](https://wordpress.org/support/users/dghaddon/)
 * (@dghaddon)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/adding-html-to-footerphp/)
 * Working with the footer.php file adding lists to it (twenty Twelve theme) and
   the footer is not wrapping around the HTML that I am putting in.
    Here’s the 
   link. Any thoughts? Sure it’s an easy answer, but can’t find the answer. [http://www.aequus.us/about-us/](http://www.aequus.us/about-us/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [jitendrajoshi](https://wordpress.org/support/users/jitendrajoshi/)
 * (@jitendrajoshi)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/adding-html-to-footerphp/#post-5880991)
 * Use the following CSS:
 *     ```
       footer[role="contentinfo"] {
         background: none repeat scroll 0 0 #388dca;
         border: 2px solid #000;
         border-radius: 5px;
         clear: both;
         color: #fff;
         font-size: 0.857143rem;
         height: 9rem;
         line-height: 2;
         margin-left: auto;
         margin-right: auto;
         margin-top: 1.71429rem;
         max-width: 68.5714rem;
         padding: 1em 0;
       }
       ```
   
 *  [jnhghy](https://wordpress.org/support/users/jnhghy/)
 * (@jnhghy)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/adding-html-to-footerphp/#post-5880998)
 * One simple way I think you can do it is to change/overwrite a css rule:
    In your
   stylesheet at line 708 you have something like:
 *     ```
       .aequusImage {
           float: left;
           display: inline;
           margin: 0px 20px;
       }
       ```
   
 * this has to be overwritten so you can either create a child theme or add the 
   css inline (if you have this optin) or use a custom css plugin to add the fallowing
   rule:
 *     ```
       .aequusImage {
           display: inline;
           margin: 0px 20px;
       }
       ```
   
 * And that should do the trick. There are other solutions too.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘adding HTML to footer.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [jnhghy](https://wordpress.org/support/users/jnhghy/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/adding-html-to-footerphp/#post-5880998)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
