Need help? Check out our Support site, then


Duotone background color

  1. Can somebody please advise me. I have a photo blog with Duotone as the background. Awhile back I changed the background color and now I want to change it back to the Duotone's automatic coloration, but no matter how many times I 'save' my changes, it never changes. What am I doing wrong?

    Thank you!

    Kristy

    The blog I need help with is mysteriouswild.wordpress.com.

  2. Disclaimer: I'm using my own webhosting service, and my wordpress blog isn't hosted on wordpress.com

    There may be another way, but you can update the database. The table is wp_options, and the option_value is "background_color".

    <br /> UPDATE _wordpressdb.wp_options SET option_value = ' ' WHERE wp_options.option_id =269;

    Another possible option is, login to your admin, then go to Appearance-->Editor. Edit the "Theme Functions" (functions.php) template. Look for the line:

    <br /> background-color: <?php if(get_option('background_color') == '') { ?> #<?php echo $color->bg['+2']; } else {<br />

    Change the part where it says

    get_option('background_color') == ''

    to

    get_option('background_color') == '#000000'

    1. Watch out, those are two single quotes, not one double quote
    2. Replace #000000 with any color that you definitely won't use as the background color. Basically, this says, "if the background color is #000000 (black), then use the automatic color"

    Hope this helps. And hopefully, the author of this theme can chime in to say if there's a proper way to do it.

  3. Oh my god, the formatting destroyed the SQL query:

    UPDATE helliax_weddingblogtest.wp_options SET option_value = ' ' WHERE wp_options.option_id =269;

  4. UPDATE helliax_weddingblogtest.wp_options SET option_value = ' ' WHERE wp_options.option_id =269;

  5. @helliax, none of that will work here at wordpress.com as we cannot edit the underlying theme files.

    The differences between wordpress.com and wordpress.org (self-hosted) sites.

  6. Go to appearance > background, delete the background color hex code in the background color field and then save changes.

Topic Closed

This topic has been closed to new replies.

About this Topic