• 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

Genesis child theme loses multi-column layout

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 › Genesis child theme loses multi-column layout

This topic is: resolved

Tagged: Columns, formatting, genesis, layout

  • This topic has 8 replies, 2 voices, and was last updated 11 years, 4 months ago by AnitaC.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • February 2, 2014 at 1:54 pm #88208
    MJ Grant
    Member

    Hello,

    I am building (what was meant to be) a simple child theme for the Genesis framework, but when my child theme is active, my site loses its multi-column layout and I can't figure out how to restore it. It looks a lot like it's inappropriately trying to use the mobile styling. (I tried cutting the mobile styling out of the css and it persists).

    My child theme's style.css file contains the copied contents of Genesis's style.css plus a few modifications of my own, and my child theme's functions.php contains this code:

    <?php
    /** Start the engine */
    require_once( get_template_directory() . '/lib/init.php');
    /** Child theme (do not remove) */
    define( ‘CHILD_THEME_NAME’, 'Standing Desk Geek Theme' );
    define( ‘CHILD_THEME_URL’, 'http://standingdeskgeek.com/' );

    Here's what the site looks like with just the Genesis framework active: http://standingdeskgeek.com/help/framework_active.png

    Here's what it looks like with my child theme active:http://standingdeskgeek.com/help/child_theme_active.png

    Please ignore all the logo overlaps and other ugliness, I've been hesitant to put any work into styling the site until this columns problem is resolved. The live site is at http://standingdeskgeek.com

    Thank you for any assistance!
    MJ Grant

    http://standingdeskgeek.com
    February 2, 2014 at 3:51 pm #88220
    AnitaC
    Keymaster

    You apostrophes are incorrect on the two define lines in your code. It should look like this:

    <?php
    /** Start the engine */
    require_once( get_template_directory() . '/lib/init.php');
    /** Child theme (do not remove) */
    define( 'CHILD_THEME_NAME', 'Standing Desk Geek Theme' );
    define( 'CHILD_THEME_URL', 'http://standingdeskgeek.com/' );

    Need help with customization or troubleshooting? Reach out to me.

    February 2, 2014 at 5:03 pm #88240
    MJ Grant
    Member

    Good catch, thank you - I fixed the apostrophes.

    Alas, the layout problem has survived that fix.

    February 2, 2014 at 5:55 pm #88246
    MJ Grant
    Member

    I downloaded another child theme for Genesis and compared it with mine. This line of code appears to add support for the "structure" I'm trying to achieve:

    add_theme_support( 'genesis-structural-wraps', array( 'header', 'nav', 'subnav', 'inner', 'footer-widgets', 'footer' ) );

    Adding this line to my functions.php fixed the wide-as-the-screen problem, but I'm still working on bringing the additional columns back into their proper locations (they're still showing underneath the content instead of to the right of it).

    I thought my theme would be an extension of the framework, and would therefore not need to have support that's already present "re-added". Clearly, there is something I don't yet understand about how Genesis works.

    February 2, 2014 at 6:03 pm #88249
    AnitaC
    Keymaster

    Are you building a new child theme? You would only have that add theme support if you "added it" into the code yourself. Are you building from scratch or using the sample child theme as you base?


    Need help with customization or troubleshooting? Reach out to me.

    February 2, 2014 at 6:17 pm #88251
    MJ Grant
    Member

    I started from empty files, thinking all I needed to add to the .css and functions.php files were the differences between my child theme and the Genesis framework's default appearance. I think it's safe to say that's not the case!

    Where is this sample child theme? Is that its name?

    February 2, 2014 at 6:19 pm #88254
    AnitaC
    Keymaster

    You can download it from here.


    Need help with customization or troubleshooting? Reach out to me.

    February 2, 2014 at 6:29 pm #88259
    MJ Grant
    Member

    I found the sample child theme, replaced my child theme's .css file with the sample child theme's .css, and there's the columns! Hooray!

    It seems my mistake was in taking Genesis's .css file instead of the sample child theme's .css file. I'll build from the sample child theme, thanks!

    Thank you for pointing me in the right direction!

    February 2, 2014 at 6:32 pm #88261
    AnitaC
    Keymaster

    You're welcome.


    Need help with customization or troubleshooting? Reach out to me.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 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

© 2025 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