My parent theme has most of it's codes are divided into pieces and in different folders with different files.

for example, menu's are in one file, search is in another file, etc. and all these files are stored in a folder.

As a newbie to wordpress development, this is confusing me a lot. I'm trying to build a child theme where I need to override all these element's styles and change their locations.

Should I just create a replica of folders and files in my child theme to override them or, just files are good?

1 Answer 1


Yes, as described in the documentation, just make a file or copy from your parent theme to your child theme, that the file will be the equivalent of the parent and will override him. I suggest you to take a time and read the docs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.