• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

CSS Grids and Genesis

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › CSS Grids and Genesis

This topic is: not resolved

Tagged: css, frameworks, grid

  • This topic has 7 replies, 5 voices, and was last updated 9 years ago by Tom.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • February 25, 2013 at 10:09 pm #22836
    itsonlybarney
    Member

    I haven't seen this posted here in the forums, but I may be mistaken.

    Has anyone implemented a CSS Grid Framework (such as 960.gs) with Genesis child themes? Or is the way to do it to select the styling you want from the Grid Framework and apply it to the selectors from the Genesis output?

    February 26, 2013 at 4:44 am #22859
    Brad Dalton
    Participant

    No but i would be interested in having a look if you can paste a link please.

    Not sure i can help but happy to have a go.


    Tutorials for StudioPress Themes & WooCommerce.

    February 26, 2013 at 6:41 pm #23026
    itsonlybarney
    Member

    I haven't started building a site yet, but wondering if anyone has successfully used a CSS grid system with Genesis.

    I guess what I am asking, has anyone added the additional classes used by CSS grids to certain Genesis styling elements without hacking the Genesis theme core?

    February 27, 2013 at 11:18 am #23121
    surefirewebserv
    Member

    I did the 1140 grid system on my old version of genesissandbox.com

    It's just a matter of changing the column classes. It takes a bit of time, but it's more tedious then anything.


    SureFireWebServices.com | Genesis Tuts and More
    Genesis Theme Starter Kit | It’s Free

    February 27, 2013 at 2:40 pm #23164
    itsonlybarney
    Member

    @surefirewebserv When you mean changing the column classes, do you mean changing the class selectors in the CSS grid style sheet to match the Genesis output selectors?

    February 27, 2013 at 3:05 pm #23168
    surefirewebserv
    Member

    Well I guess technically it wouldn't matter since the column classes are kind of an extra in the style.css BUT when you get into the layout like .content-sidebar-wrap and .content-sidebar-content-wrap, yes you'll have to change the attributes.

    Here's a sample of what I did to get 1140 working. This was with Gen 1.8 though, I never tested it with 1.9, mainly because I like the 1152 that's included.

    /* Responsive Design
    ------------------------------------------------------------ */

    /* ==================================================================================================================== */
    /* ! The 1140px Grid V2 by Andy Taylor \ http://cssgrid.net \ http://www.twitter.com/andytlr \ http://www.andytlr.com */
    /* ==================================================================================================================== */

    .wrap {
    width: 100%;
    max-width: 1140px;
    min-width: 755px;
    margin: 0 auto;
    overflow: hidden;
    }

    .onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol, .content-sidebar #sidebar, .content-sidebar #content,.sidebar-content #content, .sidebar-content #sidebar,.content-sidebar-sidebar #content {
    margin-right: 3.8%;
    float: left;
    min-height: 1px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    }

    .sidebar-content #content {
    float: right;
    }

    .wrap .onecol {
    width: 4.85%;
    }

    .wrap .twocol,
    #sidebar-alt {
    width: 13.45%;
    }

    .wrap .threecol, .content-sidebar #sidebar, .sidebar-content #sidebar {
    width: 22.05%;
    }

    .wrap .fourcol,
    .content-sidebar-sidebar #sidebar,
    .sidebar-sidebar-content #sidebar,
    .sidebar-content-sidebar #sidebar {
    width: 30.75%;
    }

    .wrap .fivecol {
    width: 39.45%;
    }

    .wrap .sixcol {
    width: 48%;
    }

    .wrap .sevencol {
    width: 56.75%;

    }

    .wrap .eightcol,
    .content-sidebar-sidebar #content,
    .sidebar-sidebar-content #content,
    .sidebar-content-sidebar #content {
    width: 65.4%;
    }

    .wrap .ninecol,
    .content-sidebar #content,
    .sidebar-content #content {
    width: 74.05%;
    }

    .wrap .tencol {
    width: 82.7%;
    }
    .content-sidebar-sidebar #content-sidebar-wrap,
    .sidebar-sidebar-content #content-sidebar-wrap,
    .sidebar-content-sidebar #content-sidebar-wrap {
    width: 84.7%;
    }

    .wrap .elevencol {
    width: 91.35%;
    }

    .wrap .twelvecol {
    width: 100%;
    float: left;
    }

    .last, .content-sidebar #sidebar,.sidebar-content #content,
    .sidebar-sidebar-content #content-sidebar-wrap,
    .sidebar-content-sidebar #content-sidebar-wrap,
    .sidebar-content-sidebar #sidebar {
    margin-right: 0px;
    }


    SureFireWebServices.com | Genesis Tuts and More
    Genesis Theme Starter Kit | It’s Free

    May 9, 2014 at 2:56 pm #104337
    PittsburghChris
    Member

    I found this article:

    http://www.onextrapixel.com/2012/11/09/how-to-develop-wordpress-themes-using-responsive-frameworks/

    It did the trick for me to incorporate Zurb Foundation with WordPress/Genesis. I had to do some more work to get it to work with SASS, but that was also possible. As mentioned earlier, there is a bunch of work to be done on the style classes.

    May 11, 2014 at 4:20 pm #104559
    Tom
    Participant

    < subscribe >


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble