Support » Fixing WordPress » Coding the style.css sheet to change the background

  • I’m still very new to this, so any help is great.

    Does this code look right to change the kubrick theme? I’m attempting to make the background for the whole site a repeat of a gif I have in my image folder.

    /* Begin Typography & Colors */
    body {
    font-size: 62.5%; /* Resets 1em to 10px */
    font-family: ‘Lucida Grande’, Verdana, Arial, Sans-Serif;
    background-image: url(‘/images/img_36copy.gif’);
    background-repeat: repeat;
    text-align: center;

    #page {
    background-image: url(‘/images/img_36copy.gif’);
    background-repeat: repeat;
    border: 1px solid #959596;
    text-align: left;


Viewing 2 replies - 1 through 2 (of 2 total)
  • It looks alright. But you can leave out the background-repeat: repeat; as that is the default behavior. Also, I assume #page isn’t the whole space because then ofcourse the body background would disappear behind it.

    w3central is right, there is no need for the background-repeat: command to be there as you are using the default ’tiled’ background behaviour.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Coding the style.css sheet to change the background’ is closed to new replies.