Support Forum
Hey David,
Yes, you can safely delete the overlays you copied but you're not using.
However, you should really consider making a child theme rather than a direct copy. Child themes only contain the changes you want to make, and these changes are loaded over the top of the parent. This means the parent theme still receives updates and as your child theme is loading over the top it doesn't need to be updated manually.
Using a full custom theme as you have there, you will need to keep an eye on the updates we put out to make sure you keep your themes CSS and templates updated or things might start to break.
You can download a free child theme framework for Default to get started here, and there is more information on how to set that up here.
Just a thought anyway, up to you of course!
Hi Ike
Thanks for the info about overlays.
I'd gone for making a custom theme as that looked easier than making a child theme (something I've never done). I'll read though the documentation link and think about changing over.
I don't currently understand how a line of code can be commented out by using a child theme, but I'm sure all will become clear once I've read the instructions!
Many thanks, David
No problem!
Commenting lines from the template would involve only copying over the template you want to change to the templates folder in your child theme, then commenting out the line you want to.
Unfortunately minor template changes are the only caveat of child themes, as CSS can be overwritten, the templates can't.
.. But it's still worth it!
davidmcc3 For what it's worth...I found what you're trying to do more easily done, and much safer in regard to upgrades by creating a child theme.
I created a Reboot kid, and included only the overlay I want to use, then made my edits to that file. Yes, it took some time up front. But it has saved me a lot of time! I ran a custom hacked theme for a few years, and updates were always pretty time consuming...
Simple:Press powers the Tripawds Discussion Forums.
It's better to hop on three legs than to limp on four.
The Tripawds Blogs Community is made possible by The Tripawds Foundation.
1 Guest(s)