WP Smith

Creating WordPress & Genesis Websites Since 2010

  • Home
  • About
  • Services
  • Blog
  • Contact

Aug 10 2013

Genesis 2.0 Drops Fifths from Column Classes

Due to the grid layout, Genesis drops support of the fifths class family (one-fifth, two-fifths, three-fifths, and four-fifths). This is logical since the grid that Genesis adopts is from Twitter Bootstrap, and they didn't include it. Since the Bootstrap grid was based on 12 columns, fifths does not naturally "fit" within the grid. 1, 2, 3, 4 and 6 are equally divisible into 12.

In discussing whether to include it in core or not, it came down to this:

Reasons to include:

  • Legacy: In light of having it in previous style sheets I believe it should be included.
  • One Style Sheet: Twitter Boostrap has the fifths via media queries with the non-fluid rows in the base CSS. Since we are not doing a base.css with a responsive.css, I believe it should be included.
  • Accurate Calculations: I have done the calculations that fit within the Bootstrap model to the 15 decimal places (cut off if zeros).

Reasons not to include:

  • Does Not Fit into 12-Column Grid: 12 is not divisible by 5 thus should not be included.
  • Responsive Twitter Bootstrap: The responsive style sheet of Twitter Bootstrap does not include it.

So, for those who like me have used it and need it in their style sheet, here is the Columns Classes section for you:

/* Column Classes
Link: Link: http://wpsmith.net/2013/wp/genesis-2-0-drops-fifths-from-column-classes/
Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css
--------------------------------------------- */
.five-sixths,
.four-sixths,
.four-fifths,
.one-fifth,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fourths,
.three-fifths,
.three-sixths,
.two-fourths,
.two-fifths,
.two-sixths,
.two-thirds {
float: left;
margin-left: 2.564102564102564%;
}
.one-half,
.three-sixths,
.two-fourths {
width: 48.717948717948715%;
}
.one-third,
.two-sixths {
width: 31.623931623931625%;
}
.four-sixths,
.two-thirds {
width: 65.81196581196582%;
}
.one-fourth {
width: 23.076923076923077%;
}
.three-fourths {
width: 74.35897435897436%;
}
.one-fifth {
width: 17.9487179487179488%;
}
.two-fifths {
width: 38.4615384615384616%;
}
.three-fifths {
width: 58.9743589743589744%;
}
.four-fifths {
width: 79.4871794871794872%;
}
.one-sixth {
width: 14.52991452991453%;
}
.five-sixths {
width: 82.90598290598291%;
}
.first {
clear: both;
margin-left: 0;
}
view raw column-classes.css hosted with ❤ by GitHub
.five-sixths,.four-sixths,.four-fifths,.one-fifth,.one-fourth,.one-half,.one-sixth,.one-third,.three-fourths,.three-fifths,.three-sixths,.two-fourths,.two-fifths,.two-sixths,.two-thirds {float: left;margin-left: 2.564102564102564%;}.one-half,.three-sixths,.two-fourths {width: 48.717948717948715%;}.one-third,.two-sixths {width: 31.623931623931625%}.four-sixths,.two-thirds {width: 65.81196581196582%}.one-fourth {width: 23.076923076923077%}.three-fourths {width: 74.35897435897436%}.one-fifth {width: 17.9487179487179488%}.two-fifths {width: 38.4615384615384616%}.three-fifths {width: 58.9743589743589744%}.four-fifths {width: 79.4871794871794872%}.one-sixth {width: 14.52991452991453%}.five-sixths {width: 82.90598290598291%}.first {clear: both;margin-left: 0}
view raw column-classes.min.css hosted with ❤ by GitHub

Written by Travis Smith · Categorized: WordPress

StudioPress Premium WordPress Themes     WP Engine Managed WordPress Hosting

What can I do for you!?

Custom Development

We develop plugins by determining both business/functional and technical requirements, following WordPress development best practices, and using agile methodology to ensure you get the best solution.

Consulting

Have questions? Need a reliable developer to consult? Please contact us today!

Customized Theme

We can customize your theme or child theme, or create a child theme for you based on your needs while enhancing the performance of every individual attribute.

Customized Plugin

We can customize your plugins, extend plugins (e.g., Gravity Forms, Jetpack, Soliloquy) based on your needs ensuring security, performance, and positive business impact.

Contact Us

About Travis Smith

As a WordPress enthusiast, developer, and speaker, Travis writes about what he learns in WordPress trying to help other WordPress travelers, beginners and enthusiasts with tutorials, explanations, & demonstrations.

Comments

  1. Koundeenya says

    August 17, 2013 at 11:49 pm

    Genesis 2.0 is something that I’ve been waiting for. Since I got the update, I’m loving it. The clean, clutter-free, simple, minimalistic design with responsive framework. Amazing!

    Reply
  2. Adrianne Elayne says

    May 15, 2016 at 5:06 pm

    Thank you for the column classes! I needed it for a custom site 🙂

    Reply
  3. jacobperl says

    December 4, 2019 at 4:20 pm

    Thank you for this…sometimes you just gotta have 5 columns!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Twitter
  • Facebook
  • LinkedIn
  • Google+
  • RSS

Copyright © 2025 � WP Smith on Genesis on Genesis Framework � WordPress � Log in