Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24634

    I’d like to copy all CSS files across into my child theme, in full, so that I only have to search within and work within one full set of files for anything I’d like to modify.

    Does anybody know of any pitfalls I need to watch out for?

    For example, one issue would be the font paths and image paths within those files needs to source back to the original location.

    Are there any problems with making a more complex child theme in this way?

    cheers

    Darryl

    #124132

    Hi Darryl,

    It wouldn’t be a child theme at that point. I can’t really think of any positive to doing this and it defeats the entire point of a child theme.

    What you do when adding new css is add the exact same css to your style.css file in the child which will then take priority over the parent because it comes after.

    So if you add all the same css to the child you would then need to update *all* of that same css when you update the parent. Which effectively negates the benefit of using a child theme.

    Regards,

    Devin

    #124133

    Thanks Devin

    I’ve been able to achieve what I need using your suggestion. I’m establishing a set of override styles, which I will post to the community helpful CSS section.

    cheers

    Darryl

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Making a More Complex Child Theme’ is closed to new replies.