Title: disappearing code?
Last modified: August 19, 2016

---

# disappearing code?

 *  [yadayadayada](https://wordpress.org/support/users/yadayadayada/)
 * (@yadayadayada)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/disappearing-code-3/)
 * I’ve came across a problem recently with code disappearing. I will change the“
   page” image link (Kubrick theme) in WP, save it out, only to find out the old
   image is still up and running live on the site.
 * I checked the CSS style sheet several times looking for the image link and nothing
   comes up in WP. It is the weirdest thing. I even used Firebug on the live site
   to see what was going on. It showed me a line of code that didn’t even exists
   in my WP CSS. I feel like I’m going crazy.
 * Any ideas?

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

 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/disappearing-code-3/#post-1056738)
 * Hi – The version of the file that WP is using is not the one you think it is,
   unless the CSS you are seeing is coming from a secondary CSS file, from the HEAD
   section of your theme’s header.php file, or is inserted by javascript or PHP.
 * When using Firebug, when you look to the right side of any CSS you are seeing,
   it displays the source and line # that CSS originates from. Thus you can trace
   it back.
 * If it tells you it comes from your actual stylesheet, put a comment at the top
   of your stylesheet file and upload it to the server.
 * Refresh your homepage and do a View Source. Find full URL of your stylesheet.
   Paste that URL into the browser address bar and navigate to the page displaying
   your stylesheet. See if your new comment is in the file. If not, that indicates
   where you are uploading the file to is not the location WP is pulling the stylesheet
   from. If your comment is there, on to the next phase of debugging the problem.
 *  Thread Starter [yadayadayada](https://wordpress.org/support/users/yadayadayada/)
 * (@yadayadayada)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/disappearing-code-3/#post-1056794)
 * Hello stvwlf,
 * Thanks for responding. When I view source I see this:
 * <style type=”text/css” media=”screen”>
 *  #page { background: url(“[http://xxxx.com/wp-content/themes/default/images/kubrickbgwide.jpg&#8221](http://xxxx.com/wp-content/themes/default/images/kubrickbgwide.jpg&#8221);)
   repeat-y top; border: none; }
 * </style>
 * So I assume it was pulling it from the css style sheet. But your right in my 
   actual css this link isn’t even in there. When I view the CSS tab of Firebug 
   I only see this:
 * #page {
    background:transparent url([http://xxxx.com/wp-content/themes/default/images/kubrickbgwide.jpg](http://xxxx.com/wp-content/themes/default/images/kubrickbgwide.jpg))
   repeat-y scroll center top; border:medium none; }
 * Doesn’t indicate what line it is…in the HTML tab it just saids
    <div id=’page’
   >. Is it possible that it is hard coded somewhere?
 * thank you for your help.
 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/disappearing-code-3/#post-1056818)
 * Hi
 * Every CSS item listed in the right pane of Firebug has, to the extreme right 
   of the line, a source location for that line.
    On the typical blog page it will
   say something like style.css (line 290), highlighted in blue type.
 * The CSS you refer to sounds like it will not be in your stylesheet. doesn’t matter–
   if it is being applied to a page element at all, Firebug will show you where 
   that element is located. Interpreting what it tells you can sometimes be a bit
   tricky, but it will tell you.
 * When CSS is embedded in the header of the page, Firebug seems to display the 
   name of the page or program as the source, along with the line number, which 
   is the line number in the actual source file. This is your clue.
    Often there
   are secondary stylesheets with a WP site. Some come from plugins, some styles
   embedded in the head section, and some themes have more than one stylesheet. 
   See if that helps
 *  [jaesten](https://wordpress.org/support/users/jaesten/)
 * (@jaesten)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/disappearing-code-3/#post-1057018)
 * Hi,
 * I’m having the same problem.
    Firebug refers to a style sheet which is not to
   be found? ————————– body { [http://www.xxxxx.nl](http://www.xxxxx.nl) #2 (line
   163) background-repeat:no-repeat; } —————————- I want the background to repeat.
   But it only repeats on 1 page. —————————- body { height:100%; } shutte…r=1.3.0(
   regel 36) body { —————————- On this page I am using the NextGEN Gallery. I guess
   this has someting to do with my problem…but i cant seem to figure it out.
 * I feel like I’m going crazy as well.
    Any ideas?

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

The topic ‘disappearing code?’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [disappearing code](https://wordpress.org/support/topic-tag/disappearing-code/)
 * [kubrick theme](https://wordpress.org/support/topic-tag/kubrick-theme/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [jaesten](https://wordpress.org/support/users/jaesten/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/disappearing-code-3/#post-1057018)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
