Support » Fixing WordPress » Content Source

  • How can you find the source of a piece of code that is in an executed page. I opened a page in my site and then the body of the page became very narrow so someone or something put some code in their to narrow the body.

    I found this code that shows up right at the end of header.php

    <style type=”text/css” media=”print”>#wpadminbar { display:none; }</style>
    <style type=”text/css” media=”screen”>
    html { margin-top: 32px !important; }
    * html body { margin-top: 32px !important; }
    @media screen and ( max-width: 782px ) {
    html { margin-top: 46px !important; }
    * html body { margin-top: 46px !important; }
    }
    </style>

    I cannot find that code in any of the files on the site. I am trying to figure out how to search the “View Source” data from a rendered page and determine what file(s) that code is in. Not sure I can do it. Any thoughts???

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Content Source’ is closed to new replies.