• This is the theme I am using
    WordPress Default 1.6 by Michael Heilemann

    In the “Header.php” section of the Theme Editor about 4″ from the bottom of the code I messed something up.

    The white back ground on my blog is missing.

    Could someone please give me this section of the code or just show me what it is that mine is missing.

    <style type="text/css" media="screen">
    
    <?php
    // Checks to see whether it needs a sidebar or not
    if ( !empty($withcomments) && !is_single() ) {
    ?>
    
    	#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg-<?php bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; }
    <?php } else { // No sidebar ?>
    	#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
    <?php } ?>

    Thanks Jordy
    Here’s my blog Prayer For Youth Girl Talk

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter jordy3738

    (@jordy3738)

    Can someone please help me out with this one! I have been posting for two days with no help!

    I’m not sure if this is what you mean, but in your stylesheet you have this:

    font-size: 62.5%; /* Resets 1em to 10px */
    	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
    	background: #d5d6d7 url('images/kubrickbgcolor.jpg');
    	color: #333;
    	text-align: center;
    	}

    Replace #d5d6d7 with white and you get a white background, but I suspect it’s actually a white background image that you’re looking for.

    Your div id=”page” appears to me missing an end </div> which would mean that the background image for it isn’t appearing

    Thread Starter jordy3738

    (@jordy3738)

    Was I not clear in my description of what I need? I think I gave the exact location of what I messed up on.

    I accidentally backspaced a couple of things in this code area but I am not sure what they were. I posted the code above in the original post.

    Can someone please help me out?

    I would think if you are using the same blog theme,WordPress Default 1.6 by Michael Heilemann, you could check my code against yours and see what is different. My description is accurate of where the section of code is.

    #1. No need to be rude.

    #2. Unless you’ve customized the theme, just reupload it.

    Rather… download it again and reupload it.

    Jordy3738,

    I would think if you are using the same blog theme,WordPress Default 1.6 by Michael Heilemann, you could check my code against yours and see what is different.

    I would think if this is just an issue involving the default theme, that you can look at the default theme on your own pc, and then look at what you have on the site, and see what’s different.

    1. You click the BIG ORANGE BOX at the top of the page.
    2. You download WordPress.
    3. You unpack the files.
    4. You look at the files.

    I did originally check your code against the default code.

    There was no difference.

    I then looked at your site. Visually, it appears that there is a div missing around your site, as I’ve pointed out. This div would use a background image vertically scaled to give the left and right borders. I used Aardvark (Firefox plugin) which seemed to confirm it.

    I then looked at your output and there were several errors, of which the most important one would appear to be the missing div.

    I might be wrong, but that’s where I would start.

    Thread Starter jordy3738

    (@jordy3738)

    Ok, apology for being a bit rude- I have been trying to resolve this issue for a day with little help, actually not one response yesterday, all day to 6 posts.

    I am a beginner at this code stuff!

    The problem did not occur until I was making an alteration in the header.php so that is where I would think the problem is. I am very hesitant to make a change in a different editor because I was not working in a different editor when this happened. Somewhere in the lower section of the code in the header.php editor I accidently backspaced 2x, beginners mistake to not back up the code before making adjustments, lesson learned.

    The theme has been customized in several ways, so re uploading may not be the best option. With my limited computer knowledge to download WordPress then unpack it and try to find the code I would like to compare seems like a three day long process.

    The code you posted is exactly what’s in the default header. Are you sure the background disappeared after you edited the header? If so, please post the entire header code so I can take a look.

    *deleted*

    Actually, it has to do with the header divs. See this (in header.php)?

    <div id="header">
        <div id="headerimg">
    
    </div>

    Change it to this and see what happens.

    <div id="header">
        <div id="headerimg">
    
    </div></div>
    Thread Starter jordy3738

    (@jordy3738)

    Your a genius Poe that’s the end of the situation.WooHoo!! Totally back to normal. How do we mark this post solved?

    Thanks for the help and again I apologize for being a little rude.

    Jordy

    Your welcome. I believe somewhere over on the left you can mark it solved ??

    on the right actually ??

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Need help with code-My background color is missing’ is closed to new replies.