Identifying theme options relevant to a problem using firebug
-
Hello,
I am wondering if there is some way of learning how a WP theme is behaving in terms of the HTML page divisions.
For example, I on my homepage I am trying to remove a page-wide horizontal strip that is 55px tall, directly beneath a slider. I’m not sure why it’s there and no settings in my theme seem obviously to refer to it (the page itself in WP has nothing on it, so it must be something to do with the theme settings).
I’ve started using firebug (or sometimes Chrome inspector) to identify a div on a page. I then tweak it a bit and often see the correction appear on firebug (or inspector). Sometimes, but generally with difficulty, I can locate the appropriate lines of CSS and drop them into a theme’s CSS editor to affect the changes.
I found in this case I could control it using:
<div id=”main” class=”clearfix width-100″ style=”padding-left:30px;padding-right:30px;padding-top:55px;”>
By changing the padding-top to 5 I got the required result.
However, unfortuantely I’m no closer to actually achieving this on my site because I haven’t been able to locate this 55 padding control anywhere.
I could possibly achieve this with custom CSS but wondered, is there somewhere in the firebug readout a pointer or hint at least to the WP option I should looking at? If I could hone it e.g. to the slider settings or footer padding this would narrow down the search area.
I am a beginner really but this would help a lot with what I found the most time-consuming aspect of putting sites together -hunting down rouge settings; sometimes for very simple things (as in the above).
if anyone’s reading, thanks!
Tom
The topic ‘Identifying theme options relevant to a problem using firebug’ is closed to new replies.