• 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

Update 3.0 Broke my child theme

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 › General Discussion › Update 3.0 Broke my child theme

This topic is: not resolved

Tagged: genesis update breaking child theme

  • This topic has 14 replies, 4 voices, and was last updated 1 year, 5 months ago by Anita.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • June 26, 2019 at 8:21 am #491948
    tomwgf
    Member

    I have build many sites using the genesis with a child theme. Whenthe update happened they all broke.

    the only fix seems to be reverting back to genesis 2.6.

    I am talking to studio press but they keep saying it is because my child theme stylesheet imports a blank style in 3.0:

    @import
    url("../genesis/style.css");

    OK, but when i ask where the new stylesheet is, they say i must copy a version 2.6 stylesheet and put it in my theme and link to it there.

    I can do this - but surely this is an old stylesheet and may stop working with newer versions of genesis.

    I have re-asked where the new stylesheet is or how can somehow call or connect to the stylesheet but they just repeat the earlier answer.

    So, what am i not understanding?

    June 26, 2019 at 9:04 am #491950
    Anita
    Keymaster

    This is correct. Genesis 3.0 removed the style.css file from the Genesis Framework itself. What child theme are you currently using? Do you have a link to one of your websites?

    *Update: There will not be a style.css file added back to Genesis. All styles should be coming from the style.css file that is included with the child themes.


    Love coffee, chocolate and my Bella!

    June 26, 2019 at 9:18 am #491951
    tomwgf
    Member

    no i am fixing them as fast as i can.

    ok so, genesis will not be supplying any standard styling for the base theme from now on?

    i have downloaded 2.10 style and have uploaded the style to my child theme and changed import link:
    /*@import url("../genesis/style.css");*/

    @import
    url("genesisstyle/style.css");

    June 26, 2019 at 9:34 am #491954
    Anita
    Keymaster

    What child theme are you using? Your child theme would not be using the styles.css file from the framework. It shouldn't have in the first place. Child themes have their own style.css file.


    Love coffee, chocolate and my Bella!

    June 26, 2019 at 11:01 am #491957
    tomwgf
    Member

    the parent theme sets up all the standard columns width etc - about 1600 lines of style according to 2.10 stylesheet.

    my child theme stylesheet tweaks things, font, colours, backgrounds etc..
    maybe adds a few images
    adds a few things to the homepage via functions...

    June 28, 2019 at 10:48 am #491989
    DeniseB
    Participant

    I'm reading this thread to try to understand what the issue is as I have over 70 themes using Genesis Child Themes. Anita, from what I am understanding is that Genesis Framework no longer has a stylesheet b/c it was redundant as the child theme already has a full stylesheet. So if we haven't messed with the Genesis Framework stylesheet for any of our old sites, there should be not issue with updating to 3.0.1 ... is that a correct interpretation?

    June 28, 2019 at 10:59 am #491990
    Anita
    Keymaster

    It's always helpful @tomwgf if you can provide the theme name you are using as not all themes are created equally. It's like being blindfolded but expected to tell someone what color is in front of them. Can you provide the theme name you are using?


    @deniseb
    , that is correct. Child themes are not dependent on the stylesheets of the framework. So you shouldn't see any impact on your update. But again, without knowing what theme you started out with or if you are using a custom built theme - this could be the wrong answer.

    There have been some who used the "framework" as a theme without a child theme which should never be done. So upon update, their sites either crashed or they lost all of the styling.


    Love coffee, chocolate and my Bella!

    June 28, 2019 at 11:09 am #491991
    tomwgf
    Member

    the parent theme was Genesis Framework. the child theme was my own, it added a few things in functions and added tweaks over the parent stylesheet

    June 28, 2019 at 11:13 am #491992
    tomwgf
    Member

    but i found this works for my sites as a fix:

    • download genesis theme 2.10 stylesheet - i found an old site of mine that had not updated yet and grabbed that
    • put in a new folder. i called mine genesisstyle, upload this folder into my child theme theme folder, ie: /wp-content/themes/childtheme/genesisstyle
    • Download my child theme /wp-content/themes/child theme/style.css
    • Edit style sheet of theme: /wp-content/themes/child theme/style.css
      for me roughly line 22

      @import
      url("../genesis/style.css");
      to:
      /*@import url("../genesis/style.css");*/

      @import
      url("genesisstyle/style.css");

    this seems to work

    June 28, 2019 at 11:59 am #491993
    Anita
    Keymaster

    This is why the theme name is important as you stated:

    the child theme was my own, it added a few things in functions and added tweaks over the parent stylesheet.

    So therefore, your site and theme would experience issues on the update from the way you created your own theme. You would need to do what you did to save the site.

    If anyone who reads this has never depended on the stylesheet from the framework, and only the stylesheet from their child theme, they should be okay to update.


    Love coffee, chocolate and my Bella!

    January 16, 2021 at 6:01 am #502660
    deholz
    Participant

    Hello,

    I know this is a REALLY old thread. I have just started managing a site that was running an old version of Genesis. When I updated to Genesis 3.3.3, I lost all formatting on my Lifestyle Child Theme.

    It sounds as if this style.css issue is my problem. I'm just not sure how to fix it, as I don't have access to an older version of Genesis or likely the expertise to figure out how to do this fix.

    If someone can help provide info on how I can get this working again, I'd be most appreciative. Site is pretty ugly right now with no formatting.

    DEHolz

    January 16, 2021 at 6:34 am #502661
    deholz
    Participant

    Follow on: Does Lifestyle Pro 3.2.4 Theme work with Genesis Framework 3.3.3?

    Or do I need to change to an update theme?

    DEHolz

    January 16, 2021 at 1:23 pm #502672
    Anita
    Keymaster

    @deholz what version of Lifestyle are you using? You did not provide a link. But to answer the question, if you switch to the current Lifestyle, it will work with the current version of Genesis.


    Love coffee, chocolate and my Bella!

    January 17, 2021 at 3:14 pm #502687
    deholz
    Participant

    I was on 2.02 and see that was the issue. Sadly, the new lifestyle pro, while close, is going to require a bit of customizing to get it looking like the old site (fonts, etc)

    Dawne

    January 19, 2021 at 2:57 pm #502722
    Anita
    Keymaster

    @deholz please not that your version of Genesis is not getting updates. Keep that in mind moving forward as you could experience additional issues with your theme and/or other plugins.


    Love coffee, chocolate and my Bella!

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 15 total)
  • The forum ‘General Discussion’ 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

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