WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Theme: Raindrops] How can I change the main window background color? (9 posts)

  1. sean1898
    Member
    Posted 5 months ago #

    I like the dark version of the theme, but I want to make the background white rather than black, (and text the opposite). I have a child-theme. My website is Awake at Midnight.

  2. nobita
    Member
    Posted 5 months ago #

    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.

  3. sean1898
    Member
    Posted 5 months ago #

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

  4. sean1898
    Member
    Posted 5 months ago #

    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

  5. sean1898
    Member
    Posted 5 months ago #

  6. nobita
    Member
    Posted 5 months ago #

    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.

  7. sean1898
    Member
    Posted 5 months ago #

    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?

  8. nobita
    Member
    Posted 5 months ago #

    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.

  9. sean1898
    Member
    Posted 5 months ago #

    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;
    }

Reply

You must log in to post.

About this Topic