WordPress.org

Support

Support » Themes and Templates » How Can I Change My Background on K2?

How Can I Change My Background on K2?

  • Alright, so I’ve just made a blog and installed my favourite theme called “K2” and I’m trying to change it’s background. I’ve clicked on every single link on google search and I’ve looked at K2’s support blog but I couldn’t find anything or they didn’t work. Can you please help me to change my background? I want to insert an image instead of the annoying grey color.

    If you have read all the thing at the upside, you’ll problably understand my problem.

    Sorry for bad English, English is not my main language…

    My Blog: http://www.boriskocp.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • If I understand you correctly, the background colour you’re not happy with is set in this style rule:

    body {
      ...
      background-color: #EEEEEE;
      background-image: none;
      ...
    }

    As always, I would advise you to make changes in a Child Theme. It takes about 5 minutes to do, so there’s no excuse not to, really, unless your theme explicitly fails to support child themes.

    Assuming you’ve made a minimal child theme, all you have to do is to upload your image to somewhere sensible and reference it in a body style rule in the child theme’s style sheet.

    If it was me, I’d create an images directory in my child theme’s directory and so add a style rule like this:

    body {
      background-image: url('images/name-of-your-image.png');
    }
    
    HTH
    
    PAE

    That really worked! Thank you!

    De nada

    PAE

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How Can I Change My Background on K2?’ is closed to new replies.
Skip to toolbar