Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialNijad Kifayeh
6,092 PointsChanges to parent theme that can be over-ridden w/ theme update
I'm not 100% clear on which changes to a parent theme will be over-ridden once a theme is updated?
Will any content added to the site be reset as well (blogs etc.) ?
1 Answer
Rich Bagley
25,869 PointsHi Nijad,
Your content shouldn't be overridden on a parent theme. It's mainly core functionality.
If you're looking to customise an existing theme the best way to approach this would be via a child theme. With a child theme you can essentially copy the look of an existing theme without affecting the original.
Hope that helps :)
-Rich
Nijad Kifayeh
6,092 PointsNijad Kifayeh
6,092 PointsHi Rich! Thanks for addressing so many of my recent questions!
I am currently setting up an e-commerce site based on wordpress where I am using the woo commerce plugin, the canvas framework and a canvas child theme; from my research it seems that it is not possible to have a child of a child theme....is that accurate?
My worry is that any customizations I make to the child theme (structural and typographical) will be "reset" if the child theme creator updates the child theme ...
while we're at it, the canvas child theme I bought does not utilize the usual parentThemeName-child naming syntax nor does it include the metadata in the child css as per the instructions for creating a child-theme in the codex.....what is gong on there?
Rich Bagley
25,869 PointsRich Bagley
25,869 PointsHi Nijad,
No problem! A child theme can be named anything and doesn't have to keep to the parentThemeName-child syntax. It will be referenced in the style.css anyway.
It's not standard to have a child of a child theme but the theme may have been set up in a different way so In terms of that the best way of resolving this would be checking with the theme developer.
Hope that helps :)
-Rich