wordpress - Child themes of twentysixteen theme -
i using twenty sixteen child theme. need modify theme contents. files need modify , how? can explain in detail. advance thanks.
when use child theme black screen
this site http://i.stack.imgur.com/snsx9.png how extent full width of site..
read following documentation child themes
child theme inherits functionality , styling of it's parent theme. if using child theme , theme update applied changes won't lost or overwitten
you can create child theme theme, follow steps given below:
1 create folder , name theme name; append -child in name. e.g. creating child theme twentysixteen theme called twentysixteen-child folder should sit beside parent theme under wp-content/themes/
2- child theme should have 3 files. style.css functions.php screenshot.png
3- in functions.php file can override parent theme functions.
4 in style.css file can override parent theme css code.
5 if want change header design have override header.php file. copy header.php file of parent theme , paste inside child theme folder. now, can modify child theme header file per requirements.
6 similarly, can override footer.php file in child theme.
for more info have on below thread- https://codex.wordpress.org/child_themes
Comments
Post a Comment