test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • 2domedia Friend
    #155346

    Hello Support,
    I’m changed the background from using color code to a image –

    background: #fff url(../images/bg-red.jpg) repeat-x scroll center top;

    The problem is that I had to create the background image to be 3500px in length. Is there a way to shorten the images and update the code to extend the length of the site?

    Thanks :confused:

    Phill Moderator
    #359268

    Please show us the image you are trying to fit.

    The normal methose are to tile an image or fade am image at the sides and bottom to a single background colour. A link to the page to the page (with the image included) will help us advise what is best.

    2domedia Friend
    Phill Moderator
    #359281

    Hmm, will require a couple of adjustments.
    Lets start by finding template.css line 541

    #ja-wrapper {
    padding: 0;
    }

    Replace with


    #ja-wrapper {
    background:none repeat scroll 0 0 white;
    margin-left:auto;
    margin-right:auto;
    width:980px;

    }

    Then replace your image with the one attached

    The find


    body#bd {
    background:url("../images/bg-red.jpg") repeat-x scroll center top #FFFFFF;
    color:#333333;

    }

    and replace with


    body#bd {
    background:url("../images/bg-red.jpg") repeat scroll 0 0 #FFFFFF;
    color:#333333;

    }

    I’ve not tested it so if you have any problems just ask.


    1. bg-red
    2domedia Friend
    #359284

    It worked… I just had to adjust the width from 980px to 1250px and it looked perfect.

    Thanks

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

This topic contains 5 replies, has 2 voices, and was last updated by  2domedia 14 years, 1 month ago.

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