Support » Themes and Templates » Posts like “?p=18” are generated without backgound image

  • Hello, hope someone can help me solve my little problem.
    I’m not a coder, and I’m learning CSS on the fly, but I set up a WordPress blog with the Kurbrik theme a few months ago, and made quite a few modifications in the style sheet to reflect a home page design & colors.
    I tried to tweak the php to get rounded corners into the box, but gave up on that task when my changes didn’t carry over to every page on the site.

    I then turned the blog posting over to another person. Recently, I have returned to the news duties. Today, I made a horrible discovery — the post pages are very hard to read because a background image isn’t included in each post as it’s page is generated.

    for example:

    I don’t know if this is due to an oversight in the style sheet, or if I mucked something up in the php. Is there a help file that might help me get this fixed or can someone suggest a correction.


Viewing 7 replies - 1 through 7 (of 7 total)
  • I’m seeing this in your style section of your <head>:

    #page { background: url("") no-repeat top; border: none; }

    Note a lack of an actual image file in the url.

    Wow. Thanks for spotting that so fast.
    I’ll make the changed right away.
    You’re terrific.

    L.L. Price

    Hello Kafkaesqui,

    Now that I’ve had my morning coffee, I realize that I need just a bit more information. I did notice, in the source, that the WP generated “post” pages did NOT have that background image
    like the main pages.

    What I didn’t see (and don’t know), is where I can change the code or markup to make that background image automatically appear in each post page, as it is generated, when I post a new message.

    Thanks for your help.

    Do you have different header file for index and single? Either way, post here the content of header.php and come back with the link.

    Following alphaoide’s suggestion, also don’t forget to let us know which image is supposed to be there.

    Hello alphaoide and Kafkaesqui,

    Okay, I think I see the line that needs to be replaced — in the header! Now it’s coming back to me. Change images in the header in Kurbrik — I read that last summer, but forgot. I’m guessing these are the lines that are of interest:

    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/artbg.gif”) repeat-y top; border: none; }
    <?php } else { // No sidebar ?>
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/”) no-repeat top; border: none; }

    I need to add “artbg.gif” after the “/images/” in the second line. I’m guessing I need to replace the “no-repeat” with the “repeat-y top string as well.

    Back when I set this up, I used FTP to make alterations. That login changed when the other party took over the news. As I recall, I can’t edit in the theme editor either. I have to wait until Monday, when the sysop can give me a new pass.

    Or is there some way to make changes through the dashboard?

    Thanks guys.
    L. L. Price

    If you can’t use the theme editor then you have to use FTP–no other way.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Posts like “?p=18” are generated without backgound image’ is closed to new replies.