WordPress.org

Support

Support » Themes and Templates » [Resolved] [Theme: Raindrops] How can I change the main window background color?

[Resolved] [Theme: Raindrops] How can I change the main window background color?

Viewing 8 replies - 1 through 8 (of 8 total)
  • nobita
    Participant

    @nobita

    sean1898

    It is a rough specified, but please try

    Add to style.css last line below rules
    ( for color type:dark and page width:fluid )

    #doc3 #yui-main,
    #doc3{
    	background:white!important;
    	color:#000!important;
    }
    #doc3 a{
    	color:#555!important;
    }
    #doo3 .yui-b,
    #doc3 #sidebar,
    #doc3 .rsidebar,
    #doc3 .lsidebar,
    #yui-main,
    #doc3 #bd,
    #doc3 #top{
    	background:inherit!important;
    }

    Thank you.

    I don’t see the dark or fluid specifications in style.css. I pasted the code onto the last line, but no difference.

    In another thread I saw this suggestion:

    <?php
    raindrops_register_styles(“yourcolor”);
    function raindrops_indv_css_yourcolor(){
    $css =<<<RESULT
    /* Write your style rules*/
    body{color:green;background:#fff;}
    RESULT;
    return $css;
    }
    ?>

    above code add to lib/csscolor.css.php first line.

    But when I do that it results in:
    Fatal error: Call to undefined function raindrops_register_styles() in /wp-content/themes/raindrops/lib/csscolor/csscolor.php on line 2

    I also read this:

    But none of the code provided actually exists in the theme anymore.

    nobita
    Participant

    @nobita

    this thread ?

    http://wordpress.org/support/topic/raindrops-theme-3

    I’m retest Raindrops 1.200 , works propely.

    Please tell me your Raindrops version.

    but I detect one issue.

    customizer pege color type order improperly.

    So, I think better to add to the last line of the functions.php is good.

    I don’t see the dark or fluid specifications in style.css. I pasted the code onto the last line, but no difference.

    I’m retest and shows below

    http://www.tenman.info/wp3/manualraindrops/files/content-body-color.jpg

    are you removed cache?

    Thank you.

    I am using Raindrops 1.2 on WordPress 3.8.1

    What I want to do is make the center section white behind the post content, but leave the color in the sidebars (Archives, Categories…) until all the widgets end and then instead of black the sidebars will be white background too.

    What code should I paste into which file?

    nobita
    Participant

    @nobita

    https://wordpress.org/support/topic/change-color-main?replies=9

    page width 750px ( #doc ) 950px ( #doc2 ) fluid ( #doc3 ) 974px ( #doc4 )

    Depending on the configuration of your page width, you must rewrite the ID.

    I use 950px. I changed the code to read as below and pasted to the end of child theme’s style.css — All fixed! Thank You!!

    #doc2 #yui-main,
    #doc2{
    background:#e2dcd9!important;
    color:#000!important;
    }
    #doc2 a{
    color:#555!important;
    }
    #doc2 .yui-b,
    #doc2 #sidebar,
    /*#doc2 .rsidebar, #doc2 .lsidebar,*/
    #yui-main,
    #doc2 #bd,
    #doc2 #top{
    background:inherit!important;
    }
    #doc2 .rsidebar,
    #doc2 .lsidebar{
    background:inherit!important;
    }

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] [Theme: Raindrops] How can I change the main window background color?’ is closed to new replies.