Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • cak Friend
    #121453

    I’d like to change the background to a gradient image., but I don’t know exactly where to put the code. Can anyone help…please:confused:

    instantinlaw Friend
    #224354

    Make a gradient image, name it gradient, upload it to your templates/ja_spica/images folder, open template_css.css and change

    body#bd {
    text-align: center;
    background: #444444;
    color: #FAFCF4;
    }

    to

    body#bd {
    text-align: center;
    color: #FAFCF4;
    background-color: #444444;
    background-image: url(../images/gradient.jpg);
    background-repeat: repeat-x;
    }

    Good luck

    cak Friend
    #224397

    Thanks so much for the help. The gradient image now appears in the background, but it won’t repeat. Here’s the code i added

    }

    body#bd {

    text-align: center;
    color: #FAFCF4;
    background-color: #326d83;
    background-image: url(http://mysite.com/xx/templates/ja_spica/images/gradient.jpg);
    background-repeat: repeat-x;

    }

    Menalto Friend
    #224400

    Try with this code:

    body#bd {
    text-align: center;
    color: #FAFCF4;
    background: #326d83 url(../images/gradient.jpg) repeat-x;
    }

    And change gradient.jpg with your picturename.

    instantinlaw Friend
    #224417

    cak;21173Thanks so much for the help. The gradient image now appears in the background, but it won’t repeat. Here’s the code i added

    }

    body#bd {

    text-align: center;
    color: #FAFCF4;
    background-color: #326d83;
    background-image: url(http://mysite.com/xx/templates/ja_spica/images/gradient.jpg);
    background-repeat: repeat-x;

    }

    Youe path should be relevant, not full. I.e. (../images/gradient.jpg) not (http://mysite.com/xx/templates/ja_sp…gradient.jpg);

    cak Friend
    #226344

    A little late….but thanks for the help. My gradient background looks great::D

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 3 voices, and was last updated by  cak 17 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum