Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • jochite Friend
    #187835

    I want to insert a background-image in jpg format header. I want to go from side to side of the header and has a height of two or three fingers.

    What steps should I take for it?

    TomC Moderator
    #494319

    So that I can try to best assist you, please provide the url of the site you’re working on

    jochite Friend
    #494323
    TomC Moderator
    #494327

    Within file path –> /templates/ja_purity_ii/css/template.css

    at line 1237, you will see the following:


    #ja-header .main .main-inner1 {
    background: none repeat scroll 0 0 #0098FE
    height: 100%;
    margin-left: 0;
    margin-right: 0;
    }

    You can add a “background-image” property to this CSS rule – with the specified path identifying in which site file you have your background image – for example …


    #ja-header .main .main-inner1 {
    background: none repeat scroll 0 0 #0098FE
    background-image: url("../templates/ja_purity_ii/images/your-image.jpg");
    height: 100%;
    margin-left: 0;
    margin-right: 0;
    }

    Hope that helps.

    jochite Friend
    #494384

    First thank you for the reply.

    I inserted the following code and this is the result: http://www.jgguerrero.es

    #ja-header .main .main-inner1 {

    background-repeat: none no-repeat scroll 0 0 ;
    background-image: url(../images/JGHeader1.jpg);
    height: 100%;
    margin-left: 0;
    margin-right: 0;
    }

    What I can do to make the top-top-positions and top-header panel and can be adjusted at will?

    Thanks again

    TomC Moderator
    #494386

    <em>@jochite 374848 wrote:</em><blockquote>
    What I can do to make the top-top-positions and top-header panel and can be adjusted at will?

    Thanks again</blockquote>

    I don’t fully understand your question … can you try to clarify a bit?

    jochite Friend
    #494389

    I do not want the sides of the background-image appear white but covers 100% of the header.

    TomC Moderator
    #494390

    This is kind of a sloppy way to do it, but try this . . . .

    Within file path –> /templates/ja_purity_ii/css/template.css

    at line 1237, modify as follows:


    #ja-header .main .main-inner1 {
    background-image: url("../images/JGHeader1.jpg");
    height: 100%;
    margin-left: -35px;
    margin-right: 0;
    width: 1400px;
    }

    Does that get you any closer to what you wanted?

    jochite Friend
    #494392

    I think with your directions remain fixed. Just have to give the background-image a width of 1400 px.

    TomC Moderator
    #494393

    <em>@jochite 374857 wrote:</em><blockquote>I think with your directions remain fixed. Just have to give the background-image a width of 1400 px.</blockquote>
    You may still need to fiddle with the left margin …. but give it a shot and see what happens

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

This topic contains 10 replies, has 2 voices, and was last updated by  TomC 10 years, 11 months ago.

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