editing element.style...sigh (4 posts)

  1. DragonDon
    Posted 2 years ago #

    I've read many of those posts regarding this editing of an html file but I seriously do not understand where this would be at all for my template. Driving me nuts.

    Two questions:

    1/ for my test site http://apgmi.test-lca-website.com/, the main content is in a box that is aparently focing a 0px margin. According to the template author "Hi, It looks like the table in your markup is specifically declaring margin:0." While I am trying to work this out with him, time is important here so I am asking here as well to get another perspective. WHERE do I edit this info?

    2/ Possibly answered by a response to #1, HOW do I understand how I can track this down myself?

    I see "/html/body/div[5]/div/div/div/div/div/div/table" but what I think needs to be edited in the step above(i.e. "/html/body/div[5]/div/div/div/div/div/div").

    Since I am vaguely aware that html pages are generated on the fly from php code, this should mean that I need to edit a php file....or some sort of css file referred to by the php file. This is where I get stuck.

    The html code in which the table is nested within is "<div align="center" style="display:block;clear:both;margin:0;padding:0;">"

    So I see that'style' reference, which I believe is the one I need to edit in order to get the spacing I want. I have zero clue as to where(which file) this style is actually defined so I can edit and move on with life.

    Any help would be greatly appreciated.

  2. d_random
    Posted 2 years ago #

    Not sure of the question, but I have found that the addon "firebug" for firefox to be very helpful finding solutions for these type of problems.

  3. Andrew Nevins
    Forum moderator
    Posted 2 years ago #

    WHERE do I edit this info?

    Which theme are you using?

    Your theme needs to be available here at WordPress.org so we can understand how it works.

  4. DragonDon
    Posted 2 years ago #

    I'm using the Orion theme from simplethemes.com.

    This issue may be specific for this theme but the concept of tracking down/understanding WordPress in general still applies.

    @d_random - I have Firebug, and have even found Chrome's "inspect element" to be of use as well.

Topic Closed

This topic has been closed to new replies.

About this Topic