• Resolved TonyWilliams

    (@tonywilliams)


    I do apologise for what appears to be a straightforward question but I just cannot get the hang of the use of the child theme ??
    I have followed the instructions on your site and read the WordPress page on child themes and this is what I’ve done
    1. I have created a Luminescence Lite child folder in the themes folder and it shows in my list of installed themes as you suggested.
    2.I have copied the following from the style.css of the main theme
    body {
    padding:40px 0;
    -moz-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    background: #1d2022 url(‘images/backgrounds/background1.jpg’) 0 0 repeat fixed;
    color: #787c7f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
    font-smoothing: antialiased;
    line-height: 1.375em;
    }

    3. I activated the child theme and pasted the above into the style.css of the child theme and changed
    font-family: Arial, Helvetica, sans-serif; to font-family: Georgia, serif; I may want to change other body style elements hence the reason I copied the whole body code.
    4. This changed the font in the child theme but when I then activated the main theme where all my design changes are eg colour background etc, the font is still the original?

    I realise that you recommend a knowledge of css files which I haven’t got (and it’s probably a bit late in the day for me to start learning that at my age) but having followed what I thought were clear and precise instructions I still don’t get it? Can you help?
    I appreciate any help you can give me.
    Many thanks
    Tony

Viewing 6 replies - 16 through 21 (of 21 total)
  • esmi

    (@esmi)

    Should I leave this as a subfolder of the main parent folder or should I move it as a subfolder in themes?

    Your child theme should have its own folder in wp-content/themes – just like any other theme. The big difference with a child theme is that you must keep the parent theme installed.

    I assume that the child theme doesn’t pick up the customisation I’ve already made to the parent?

    Yes it will but, longer term, you may want to move those customisations over into the child theme and then restore the parent to its original forum.

    What changes would this allow me to make apart from the header font style which presumably I would do in the style.css file?

    In theory, pretty much any change you might want – from minor style/formatting changes to radical ones such as completely re-writing a header etc.

    when I overstep the line in terms of the things I expect, someone must tell me.

    We are more than happy to support you as you get to grips with WordPress theming and usage. That’s exactly what these forums are for. All that we do sometimes ask is that you create a new topic for a new question, so that future forum searchers can find solutions to their problems easier. Other than that, please ask away. ??

    Thread Starter TonyWilliams

    (@tonywilliams)

    @esmi many thanks for your reply and your support. I will plough on!
    Tony

    Hi Tony… I wanted to follow up to see how you are making out with the child theme?

    Depending on what kind of changes a person wants to do, there is a bit of a learning curve when it comes to using a child theme because it does require some hands on html and css coding basics…and of course, lots of time to read up on using child themes, in general.

    Thread Starter TonyWilliams

    (@tonywilliams)

    Hi there, thanks for your concern.

    I think I’m beginning to grasp the concept now. I only wish I’d known about it before I started having spent time customising the original (the customisation doesn’t appear to flow through to the child as suggested by esmi in a previous post) so I need to start again with the child.

    As far as hands on with html, that’s no problem as I mentioned I have a reasonable knowledge of html, it’s the css file where I’m floundering. Given the somewhat short time scale I have, I may find it difficult to get a sound knowledge of css to enable me to edit the theme in the way that my friend wants in the time I have. BUT, I’m never one to give up and so I’ll keep trying.

    Many, many thanks for your support it has certainly helped.
    Regards
    Tony

    No worries… and yes, that is the unfortunate part of switching to a child theme is that theme options often have to be redone.

    Anyway, is it safe to say this topic can be closed as resolved, or do you have more questions relating to this topic?

    Thread Starter TonyWilliams

    (@tonywilliams)

    Hi there, sorry for the delay. Yes I think I’m OK now with the concept, I just need to get down to understanding the code structure of css files.
    Once again many thanks for all you’re hrlp and I have now marked this topic as resoled.

    Regards
    Tony

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘I just can't get the hang of the child theme?’ is closed to new replies.