Community Forums › Forums › Archived Forums › General Discussion › Update 3.0 Broke my child theme
- This topic has 14 replies, 4 voices, and was last updated 3 years, 2 months ago by Anita.
-
AuthorPosts
-
June 26, 2019 at 8:21 am #491948tomwgfMember
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 #491950AnitaKeymasterThis 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 #491951tomwgfMemberno 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 #491954AnitaKeymasterWhat 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 #491957tomwgfMemberthe 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 #491989DeniseBParticipantI'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 #491990AnitaKeymasterIt'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 #491991tomwgfMemberthe 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 #491992tomwgfMemberbut 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 #491993AnitaKeymasterThis 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 #502660deholzParticipantHello,
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 #502661deholzParticipantFollow 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 #502672AnitaKeymaster@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 #502687deholzParticipantI 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 -
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.