• I use ‘Magic Blue’ theme which I am pretty happy with. The only thing I would like to change is the grey background with the pale diagonals. I am not sure if it is even called background or wallpaper but it is the background against which the whole WordPress blog is displayed. I can’t find any reference in the stylesheet to wallpaper. If someone could tell me how to alter that background color to light blue or maybe purple I’d be very grateful. Thanks, Pensaro1.

Viewing 10 replies - 1 through 10 (of 10 total)
  • the theme uses ‘bodybg.gif’ for the background
    right click on background and choose “view image” and you will see exactly where it is located

    Thread Starter pensaro1

    (@pensaro1)

    Hi there Samboll. Thanks for the info. I guess that means I need to replace the already existing ‘bodybg.gif’ with one of my own. I will try that and report back. Pensaro1.

    Thread Starter pensaro1

    (@pensaro1)

    Hi, its me again. I’m not having any luck with this. I tried (in cpanel) replacing the ‘bodybg.gif’ with one I created but everything stays the same. Could I use a ‘jpg’ image instead of the ‘gif’ already there? The permissions for this file are set at 644. Does that make a difference? Pensaro1.

    to make it work without modifying code yor background needs to have the exact same name as the one you are replacing.

    If you want to use a .jpg, you will likely need to modify your theme’s style.css and/or header.php to reflect the new name.

    Thread Starter pensaro1

    (@pensaro1)

    I actually tried replacing the existing ‘.gif’ with a new .gif of the same name but different image color instead of using a .jpg. No change. I even tried borrowing a .gif from another theme, renaming to bodybg.gif and overwriting the existing .gif but nothing changes. I did these things via cpanel blog…themes/magicblue/images. Nothing seems to change. I don’t know enough about code yet to sort this out so I’m still stuck!
    This is what is in my header php;

    body{
    background: #fff url(“<?php bloginfo(‘template_directory’); ?>/images/bodybg.gif”);
    }

    maybe it’s more than just a background image.

    What’s the URL to your site?

    Peter

    ok upload your image and change
    /bodybg.gif
    to whatever your image name is

    Thread Starter pensaro1

    (@pensaro1)

    To Samboll, I just uploaded and renamed the image I want. No change. To pboosten my site is https://www.pensaro.com. Thanks.

    you will also need to look in your theme’s style.css
    top line
    background: #fff url("https://www.pensaro.com/blog/wp-content/themes/magicblue/images/bodybg.gif");
    change to appropriate image url here also

    Thread Starter pensaro1

    (@pensaro1)

    I couldn’t find anywhere in the style sheet to change that but changing things in the the header.php has done the trick. Many, many thanks. Big smiles! Pensaro1.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Background/wallpaper.’ is closed to new replies.