I tried coping the entire header.php in child theme too but still not working. Anybody please help!
Yeah, I tried again and its working but I can see entire window including sidebar in the print preview though I want only the post content to get printed. Is there any way I can do this?
I tried adding this code in the text editor but it gets deleted automatically in the visual editor.