Background Image has disappeared

  • Author
  • #797652

    Hi all, i’m hoping someone may be able to help

    After taking the advice of thesacredpath in these 2 posts:

    (This advice was brilliant by the way, so thank you thesacredpath)

    Well i’ve managed to change my top left corner so it shows my logo, but in doping so it’s taken away my background image, and the icons where the search, home, contact buttons etc are.

    My Blog is by the way

    I’ve tried playing around with the CSS a little bit but can’t seem to sort anything out. Anyone know of any way to get my image back? I think i must have over ridden something, but don’t know where or how

    thank you in advance CSS experts

    The blog I need help with is



    I took a look at your site and your custom css and the icons are missing because you have a lot of “url” references in the Custom CSS to files which don’t exist at the location the CSS is pointing to them at,

    For example:

    #menu li span.about {
    background:url('images/bg/info.gif') no-repeat;

    #menu li span.archives {
    background:url('images/bg/hourglass.gif') no-repeat;

    #menu li span.subscribe {
    background:url('images/bg/favourite.gif') no-repeat;

    #menu li {
    background:url('images/bg/mail.gif') no-repeat;

    When the browser parses these it looks for the files relative to where the Custom CSS is served from so it looks for them and doesn’t find them. It looks like you copied these from the themes CSS where they work fine because the urls are relative to where that CSS file is served from.

    As you have copied these from the themes css file so you can just remove these from your Custom CSS and the icons will appear again.


    That’s brilliant, thanks for that. I’ve managed to get the icons for Home, Contact, Subscribe, and About, but the search bar and icon, and the background image (it’s usually a black background with a graphic on the left. I know it’s in there somewhere because it shows up when the page is loading but then disappears again.)

    I’m assuming it’s a similar problem, that another piece of code is blocking it. Could you point me in the right direction please?

    Sorry for so many questions, i’m very new at CSS so trying to get my head round it all


    Matt (Turndog Millionaire)



    Great news that you go those images back.

    I checked your site again using Firebug and the following images are referenced by the Custom CSS but don’t load because of the same reason described above:

    “NetworkError: 404 Not Found –
    “NetworkError: 404 Not Found –
    “NetworkError: 404 Not Found –
    “NetworkError: 404 Not Found –
    “NetworkError: 404 Not Found –
    “NetworkError: 404 Not Found –
    “NetworkError: 404 Not Found –
    “NetworkError: 404 Not Found –

    If you search through your Custom CSS and remove anything rules like this you should get all the images back working again:

    background: url(‘images/bg/dot.png’);


    Ha again, huge thanks. Step by step i’m getting there

    The search icon and bar is back, but my background is still not showing up (the black backing). I went through and deleted everything i could find that you posted, including a few things which were similar just to be on the safe side. It doesnt seem to have done anything bad to it, but my background is still not loading up.

    Any ideas what this could be?

    One more hurdle and i’m there :)

    Matt (Turndog Millionaire)


    I’m happy to say that i’ve found a way so thank you very much Westi, you’ve been great

    I found the fix here>>>

    so a big thanks thesacredpath too, even though he has no idea he has helped me :)

    I feel a little more learned in CSS now, so on to the next problem that will no doubt arise

    Thanks again

    Matt (Turndog Millionaire)


    Background and other theme level images can and will disappear if you paste the entire stylesheet into the CSS edit box because of what @westi explained. The way to keep this from happening is to put only the specific selectors, and only the specific declarations that you are adding or changing into the CSS edit window. Those declarations will then override the original declarations and the “relative” URLs in the original stylesheet will still work.

The topic ‘Background Image has disappeared’ is closed to new replies.