Forums

Changing background in a child theme (3 posts)

  1. GeekLeaguer
    Member
    Posted 1 year ago #

    Hello everyone, my in progress website is here: http://www.geekleagueofamerica.com

    I was advised to use a child theme and am doing so now. My question is, how can I change my background if my style.css is now just pretty much a blank page due to the child theme? Would I stick only the code I need into the mostly blank style.css page?

    Any advice (and the necessary code to change my background to another color or a custom piece of art I made) would be most helpful. Thanks!

  2. Good Guy
    Member
    Posted 1 year ago #

    Yes you just stick the code in your blank CSS file like this:

    body {
    	background-color: blue;
    	background-image: url('blue.png');
    	background-repeat: repeat;
    }

    Obviously you need to adapt this to suit your design needs and your other html tags.

    Good luck.

  3. GeekLeaguer
    Member
    Posted 1 year ago #

    Excellent, thank you so much.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.