Title: Medium-only footer widgets
Last modified: August 30, 2016

---

# Medium-only footer widgets

 *  Resolved [Ciredor](https://wordpress.org/support/users/ciredor/)
 * (@ciredor)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/medium-only-footer-widgets/)
 * What i want to do is to have 2 row footer widgets on medium screen only. Looked
   into code and found this :
 *     ```
       s		switch ( $count ) {
       			case '1':
       				$class = 'medium-12 large-12';
       				break;
       			case '2':
       				$class = 'medium-12 large-6';
       				break;
       			case '3':
       				$class = 'medium-12 large-4';
       				break;
       		}
       ```
   
 * I know i can simply change medium-12 to medium-6 in case 2 and 3 but in case 
   3 last widget will be taking only half available space.
 * It is possible to change medium-6 to medium-12 class ONLY to widget 3 in case
   3 (3 widgets active) ?

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

 *  Theme Author [ThemeAWESOME](https://wordpress.org/support/users/tsquez/)
 * (@tsquez)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/medium-only-footer-widgets/#post-6439914)
 * You have to remember foundation is based on the 12 so every thing has to equal
   12.
 * Hence case 1 (meaning one widget) fills 12 columns, case 2 (meaning two widgets),
   each one fills six columns, case three (meaning three widgets) each one fills
   four columns.
 * So you can do whatever you want, just as long as everything equals 12.
 *  Thread Starter [Ciredor](https://wordpress.org/support/users/ciredor/)
 * (@ciredor)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/medium-only-footer-widgets/#post-6439925)
 * It’s complicated so maybe my explanation was not enough.
    I changed case 3 to:
 *     ```
       case '3':
       $class = 'small-12 medium-6 large-6';
       ```
   
 * so even if there’s 3 widgets all of them take half space (6/12columns). But the
   problem is that the columns value is set the same for all widgets.
 * So i get 6+6+6 columns and another 6 empty like on the left:
    [http://i.imgur.com/aPmbSpc.jpg](http://i.imgur.com/aPmbSpc.jpg)
   and i would like to set only last widget to take 12 columns like on right.
 *  Theme Author [ThemeAWESOME](https://wordpress.org/support/users/tsquez/)
 * (@tsquez)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/medium-only-footer-widgets/#post-6439932)
 * I understand what you want to do completely. However I would consider this a “
   how to” question which I covered here [https://wordpress.org/support/topic/support-issue-clarification?replies=1](https://wordpress.org/support/topic/support-issue-clarification?replies=1)
 * Also you need to review the foundation docs on the grid which can be found here:
   [http://foundation.zurb.com/docs/components/grid.html](http://foundation.zurb.com/docs/components/grid.html)
 * I think that once you have a better understanding of what you can do with the
   grid, you will be able to do exacly what it is your trying to do.

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

The topic ‘Medium-only footer widgets’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/wp-forge/6.5.3.1/screenshot.png)
 * WP-Forge
 * [Support Threads](https://wordpress.org/support/theme/wp-forge/)
 * [Active Topics](https://wordpress.org/support/theme/wp-forge/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/wp-forge/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/wp-forge/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [ThemeAWESOME](https://wordpress.org/support/users/tsquez/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/medium-only-footer-widgets/#post-6439932)
 * Status: resolved