WordPress.org

Forums

[resolved] Custom Background Disapears in Codium-Extend Theme w/ Word 3.3 (23 posts)

  1. jjmetcalfe
    Member
    Posted 3 years ago #

    Just updated to WordPress 3.3 and my custom background image has disappeared. Not only that but I can't seem to change the colour of the background. I use the Codium-Extend theme to handle the custom background and can't seem to find where in the editor this stuff would be sorted out.

    Any ideas?

    Here's the image my site (http://www.squareeyed.net) should be using (tiled) - http://www.squareeyed.net/wp-content/uploads/2011/12/37-21-45-1-FFFFFF-1-FF5E5E-DDEE1E-DDEE1E-DDEE1E-DDEE1E-78D316-78D316-78D316-78D316-78D316-no-yes-yes-yes-yes-.png

    Cheers,
    JJ

  2. AkihaChan
    Member
    Posted 3 years ago #

    I got this problem with a premium of Elegant Themes as well .
    Themes's name : GrungeMagTheme ( I unable to upload themes to test cause it's a premium )

  3. ocpplus
    Member
    Posted 3 years ago #

    Me too, it has changed on all the sites I have and cannot seem to get it back to how it was.

  4. Open header.php and locate your <body> tag.

    Change this value to <body <?php body_class(''); ?>>

  5. ocpplus
    Member
    Posted 3 years ago #

    That's been done but it changes the body class in other ways too and not just the background option. IE Changes body width, moves posts/pages horizontally...

  6. Is there a class that defines the background image?

    You can make one:

    .my-body {
    background: image() blah blah
    }

    And then change it to <body class="my-body">

  7. ocpplus
    Member
    Posted 3 years ago #

    Created this Ipstenu however it does not seem to want to pick the background image up and will not tile it instead choosing to show only a black background.

    .new-body {background: url(http://us.allnewson.org/wp-content/uploads/2011/12/USflag2.jpg) background-repeat: repeat-y; }

  8. http://us.allnewson.org isn't loading at all for me so I can't go look...

  9. ocpplus
    Member
    Posted 3 years ago #

    Should be okay now although not much to look at, just a black background instead of the US Flag which should be tiled.

  10. Keobs
    Member
    Posted 3 years ago #

    NO BG IMG AFTER WP 3.3, WA THE HECK IS GOING ON! LOOK LIKE ITS LIKE THIS FOR ALL THEMES THAT HAVE A BG OPTIONS IN THE WP DASHBOARD.

    GRGRRRR

  11. novacode7
    Member
    Posted 3 years ago #

    Replacing <body class="<?php codium_extend_body_class() ?>"> in header.php with <body <?php body_class(''); ?>> worked perfectly. It restored my custom background with no noticeable side effects.

  12. Keobs
    Member
    Posted 3 years ago #

    too many sites to fix with the code above, will they fix this or will I have to do what novacode7 posted if I want wp 3.3 ?

  13. ocpplus
    Member
    Posted 3 years ago #

    Novacode7's code will work but it may cause other changes to the body, just one of those things with wordpress, you have to adapt to change.

  14. The problem is that some themes were 'doin css wrong' and just got caught at it :/

    ocpplus, when I check your site, it's not even calling the .new-body class at all..

    I'm wondering if this, in your style.css is the problem:

    <style type="text/css">
    <!--
    IMG {
    display: none;
    }
    -->
    </style>
  15. AkihaChan
    Member
    Posted 3 years ago #

    I'm waiting for hotfix , i'm not pro coder .

  16. kams33
    Member
    Posted 3 years ago #

    hey!

    I had the same problem, then I found this plugin.

    http://wordpress.org/extend/plugins/background-control/

    Just install it, than put the url of your image.

  17. jjmetcalfe
    Member
    Posted 3 years ago #

    @novacode7 - that worked great for me. Cheers.

  18. twbeeson
    Member
    Posted 3 years ago #

    I had the same problem (my background disappeared after the upgrade to WP 3.3) using the EduPress theme. I finally took kams33's advice and loaded up the "Background Control" plug-in. I had to "fiddle" with it a bit, but it did work and my background is now back where it should be.

    Thanks for the tip kams33!

  19. raafy
    Member
    Posted 3 years ago #

    cant find header php guys

  20. raafy
    Member
    Posted 3 years ago #

    cant find header php?? all have have is home php, theme function php, no primary or secondary page template php, custom query page template php , have no home php???

  21. raafy - Are you using a CHILD theme, perhaps? If so, copy the header.php from the parent theme.

  22. Dee11
    Member
    Posted 3 years ago #

    Thank you Ipstenu! The code works! Problem fixed! :-)

  23. henri
    Member
    Posted 3 years ago #

    You need to get the last version of the theme aka 1.1.3 in order to run wordpress 3.3 in this release you will find the <body <?php body_class(); ?>> in the header.php

Topic Closed

This topic has been closed to new replies.

About this Topic