How can a find a bad code in a theme?
-
A theme I’m using (WPMU-Nelo) has decided that a lot of white space and a link box without an image or text ought to appear below the navigation bar, where it’s not supposed to be. I think this is because I put too large a custom logo in the header; when I deleted that image, the link and space never went away. (BTW: I’m not very good with HTML and CSS by am striving to learn.)
Spotty support on another site traced the problem to a piece of code that starts with <div-id=custom-img-header … />. And when I delete that code in Firebug it eliminates what’s wrong with the site. So that’s progress.
My questions are these:
1) How do I find that little piece of code in all the files and folders for the site (accessed via cPanel). I can find it on Firebug, is there some thing I’m missing in the way that Firebug might help me find where the code actually is stored; or is there some other secret to finding it. Otherwise, it’s a needle in a haystack.
2) Should I be eliminating that code? I’m wondering if I’ll lose the ability to install a custom image header if I eliminated it. Should I move it instead, say, up to somewhere in the header area?
Thanks,
Ken
The topic ‘How can a find a bad code in a theme?’ is closed to new replies.