Title: Variable Width Footer Columns
Last modified: August 21, 2016

---

# Variable Width Footer Columns

 *  Resolved [hyphenstudio](https://wordpress.org/support/users/hyphenstudio/)
 * (@hyphenstudio)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/variable-width-footer-columns/)
 * Not sure if this is possible – I am sure I’ve seen it in some themes before.
 * I’d like to add 3 columns to the footer that are variable widths depending on
   if they have content in them. For example if I place content in only 1 widget
   it will expand to fill 2/3 of the footer, if I place content in all 3 widgets
   they will each take up 1/3 of the footer.
 * If anyone knows if this is possible and can lead me in right direction I would
   appreciate the assistance.

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/variable-width-footer-columns/#post-3848911)
 * look into the coding of Twenty Eleven;
 * particular, the relevant section in functions.php is:
 *     ```
       /**
        * Count the number of footer sidebars to enable dynamic classes for the footer
        */
       function twentyeleven_footer_sidebar_class() {
       ....
       ```
   
 * and check the corresponding section in style.css in this area:
 *     ```
       /* =Footer
       ```
   
 *  Thread Starter [hyphenstudio](https://wordpress.org/support/users/hyphenstudio/)
 * (@hyphenstudio)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/variable-width-footer-columns/#post-3848923)
 * Thanks. I knew it had to be out there somewhere – just didn’t know where to start
   looking!

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

The topic ‘Variable Width Footer Columns’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [hyphenstudio](https://wordpress.org/support/users/hyphenstudio/)
 * Last activity: [12 years, 12 months ago](https://wordpress.org/support/topic/variable-width-footer-columns/#post-3848923)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
