Support » Themes and Templates » TwentyEleven: Changing background in style.css

  • Resolved cykeb



    I would like to disable the whole background-options of the TwentyEleven-Theme in order to write it on my own in my style.css of my child theme.

    The problem is, when I rewrite the body-section, e.g. like:
    body {
    background: #000000;
    it still uses the normal options.

    I want to do this, because I want to implement some CSS3-styles in the background.

    The homepage:

    Thanks for answers in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • I deleted the image, but e.g. this code just doesn’t work.

    body {
    radial-gradient(black 15%, transparent 16%) 0 0,
    radial-gradient(black 15%, transparent 16%) 8px 8px,
    radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 0 1px,
    radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 8px 9px;
    background-size:16px 16px;

    add_action( 'after_setup_theme','voodoo_bg_out', 100 );
    function voodoo_bg_out() {

    in your child functions.php kills the custom bg jobbie

    Worked great, thank you.

    No problem, I’m glad it worked for you!!

    I can’t seem to get this to work. Is this still valid? Any suggestions?

    Moderator Andrew Nevins


    Forum moderator

    It’s best to create your own thread in reference to this, MKubot. This thread’s conversation ended a long time ago.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘TwentyEleven: Changing background in style.css’ is closed to new replies.