• Hey I’m having problems as I’m trying to change my backgroundimage or color on my site. I thought I would just add it to the body{] but I can’t get it to work. I’m using the Bueno theme..

    The code says:

    body {#fff; font: 14px Georgia, Times, Serif; line-height: 1.5; color: #7a7a7a; }

    Shouldn’t I be able to just put it in here? there is a image as a background right now, but I can’t find it in the code..

    I’d really appreciate some help ??

    Page: https://www.hdolsen.com

Viewing 7 replies - 1 through 7 (of 7 total)
  • check default.css of bueno theme

    Hi there!

    If you don’t have firebug installed, you should definitely do so. It can shed light on all of these css issues for you by giving you the location of the css file associated with a particular piece of html. It’ll even tell you the line of the css document that you need to look in.

    There are a couple of issues at hand here. First, the css you’re trying to write at top is incorrect. But we’ll address that in a second. Firs you need to locate where the CSS file with the correct body declaration is located. Here is where you can find it:

    https://www.hdolsen.com/wp-content/themes/bueno/styles/default.css

    on Line 11, find:

    body {
     background: url("default/bodytile.jpg")
    }

    The url() is where the background image is located. To remove it and change it to a white background, simply make it:

    background: #fff;

    Hope this helps!

    or…since you are using wp 3.0 delete this entirely

    body {
     background: url("default/bodytile.jpg")
    }

    and drop this into functions.php

    // This ALLOWS USER TO SET CUSTOM BACKGROUNDS
    if(function_exists('add_custom_background')) add_custom_background();

    And presto, you have a new menu from you admin area
    appearance->editor

    which allows you to set custom background colours, upload custom images, etc….

    I am currently setting up my Bueno themed blog. Instead of messing with the default/color-schemed CSS files or functions.php, make a declaration in the custom.css file (that they put there exactly for this purpose!) something like:

    body  { background: blue url(images/mybg.jpg) repeat left top; }

    statements in custom.css should ‘outweigh’ those in the other stylesheets. If you can’t seem to override it though, double check for

    1. specificity
    2. !important in the default/color-scheme stylesheets
    Thread Starter hdolsen

    (@hdolsen)

    Thanks for all the responds! I’ll look into the different tips right now.

    Thanks again!

    Thread Starter hdolsen

    (@hdolsen)

    Suddenly my theme options aren’t availeble from my wp-admin. What in the world happpened?

    And then this:

    Fatal error: Call to undefined function woo_title() in /home2/hdolsenc/public_html/wp-content/themes/bueno/header.php on line 5

    Sigh…

    Thread Starter hdolsen

    (@hdolsen)

    I deleted the theme and installed it again. It works… for now

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Should be easy.. Background change’ is closed to new replies.