• Resolved v2006

    (@v2006)


    Hi,

    I have some unusual code appearing at the top of e-homespotomac.com
    How do I pinpoint the source and remove it?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    That’s a broken part of your theme.

    You have code in there like this:

    <p style="left: 35px; width: 150px; position: relative"><strong>Room</strong></p>
    <p style="left: 160px; width: 150px; position: absolute; top: 0px"><strong>Dimensions</strong></p>
    <p style="left: 160px; width: 150px; position: absolute; top: 0px"><strong>Level</strong></p>
    
    <p style="left: 35px; width: 150px; position: relative">Living Room</p>
    <p style="left: 160px; width: 150px; position: absolute; top: 0px">17 x 13</p>
    <p style="left: 160px; width: 150px; position: absolute; top: 0px">Main</p>

    position:absolute means that you’re giving the text an absolute position on the page. In this case, 160 pixels from the upper left corner of the page.

    You need to fix your theme or your post so as not to have that stuff.

    Thread Starter v2006

    (@v2006)

    Thanks very much for finding it.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Help remove weird code please’ is closed to new replies.