@ import for child theme: simple question
-
Here is a rather simple question for which I honestly can not find the answer to.
I know when creating a child theme – you have the standard data ending in@import url("../responsive/style.css");
to link to the stylesheet.
QUESTION: Do you do have to have the “@ import” when creating other files in the child them. Like functions, page, header etc…
Example: `@import url(“../responsive/header.php”);
or can one just place the new CSS or html into a file called header.php.
Seems like an honest question but no direct answer could be found.
Lastly – if you want to edit something that is found in the header.php file – do you have to create header.php in child theme and place new code there in order to not loose on updates or can you place it in the child style sheet?
- The topic ‘@ import for child theme: simple question’ is closed to new replies.