Child themes and removal of code
-
Hello,
I have set up a child theme (of twentyten) and I understand the basic idea of editing it, however I can’t make my child theme overwrite any of the old code. I can ADD instructions, but I cannot REMOVE or EDIT instructions.
For example, a line in the parent theme:
<div id=”site-description”> X text </div>I don’t want there to be a site description in the top right, so I tried to remove this command. In the child theme style.css, I tried commands like “display:none” and “hide” but it simply doesn’t overwrite any of the old code. It’s possible that I’m not using brackets or angle marks correctly since I’m new to HTML, but I’ve followed a couple tutorials online and none of the things I’ve learned work for me. I’ve read a little bit about filters and so on; maybe that’s important but the tutorial I read was really advanced.
If someone could give me a good link explaining how to do this (or walk me through an example) I would be really grateful.
- The topic ‘Child themes and removal of code’ is closed to new replies.