• I am new to WP and learning as I go along.

    I’m using a theme from inkthemes.com which I have made some tweaks to e.g changing colors of text and menus. I have only just read about child themes and think it best that I create one.

    I’m pretty sure that I understand how to create a child theme, but how can I do this and still keep the changes I have already made to the parent theme?

    Am I able to just copy and save all of the modified theme files, re-install the theme, create a child theme, use a text editor to find the differences between the re-installed files and the previously modified files and then add them to the child theme?

    Please excuse me if any of what I’ve asked either makes no sense or is technically impossible. I’m still learning the ropes and trying to get to grips with it.

    Any help in this matter would be greatly appreciated.

    Reply

Viewing 7 replies - 1 through 7 (of 7 total)
  • “Am I able to just copy and save all of the modified theme files, re-install the theme, create a child theme, use a text editor to find the differences between the re-installed files and the previously modified files and then add them to the child theme?”

    If you have only changed some css in some files, and you havent changed any other files such as template files, then I think you are gonna do it in the right way.

    Thread Starter urbanrich

    (@urbanrich)

    “If you have only changed some css in some files, and you havent changed any other files such as template files, then I think you are gonna do it in the right way.”

    No, I’m pretty sure I only made changes to style.css.

    I was praying that I didn’t have to start off again from scratch.

    Thank you for your help.

    Then your plan is exactly the right way to do it and you are doing great for someone who is just learning the ropes.

    Are you familiar with the Firebug addon in Firefox? A css coder’s best friend.

    Thread Starter urbanrich

    (@urbanrich)

    I am kind of aware of Firebug, I happened to briefly read something a about it couple of days ago about it. My understanding is that it’s, and please excuse my simple explanation, an addon that lets you hover over elements of a webpage to find the code for it. Useful I suppose if you need to find a certain colors hex code.

    Is there any similar addon for Chrome?

    Well it shows you what css, class, and id’s are being use on any element in a web page, and so you can use that to easily create css to change that element to your liking.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Is there any similar addon for Chrome?

    No addon, Chrome has its lesser equivalent built-in. Right click and select ‘Inspect element’ to view it.
    https://developers.google.com/chrome-developer-tools/

    Thread Starter urbanrich

    (@urbanrich)

    I think it seems worth me installing Firefox just to use Firebug if nothing else, it seems as though it could be very useful.

    Thanks for your time and help, I really appreciate all the input.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Creating child theme after already editing parent’ is closed to new replies.