test
Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • khoand Friend
    #439085

    You replace the code from /templates/ja_purity_ii/css/template.css

    #ja-header {
    background: #333;
    position: relative;
    z-index: 10;
    }

    with

    #ja-header {
    background: url(../images/header/header1.jpg) center;
    position: relative;
    z-index: 10;
    }

    – And replace the code

    #ja-header .main {
    background: url(../images/header3.jpg) no-repeat right top #333;
    height: 140px;
    padding: 0;
    }

    with


    #ja-header .main {
    background: transparent;
    height: 140px;
    padding: 0;
    }

    – Finally, you remove your custom code

    <style type="text/css">
    #ja-header .main {
    background-image: url(/templates/ja_purity_ii//images/header/header1.jpg);
    }
    </style>

    gianluca84 Friend
    #439090

    I do not find this

    <style type="text/css">
    #ja-header .main {
    background-image: url(/templates/ja_purity_ii//images/header/header1.jpg);
    }
    </style>

    khoand Friend
    #439230

    It’s here: /templates/ja_purity_ii/blocks/head.php

    gianluca84 Friend
    #439234

    I found this in the file head.php:

    <style type="text/css">
    #ja-header .main {
    background-image: url(<?php echo T3Path::getUrl('/images/header/header'. rand(1,3).'.jpg'); ?>);
    }
    </style>

    I removed but the header is as follows:


    1. site
    khoand Friend
    #439244

    You replace the code

    #ja-header {
    background: url(../images/header/header1.jpg) center;
    position: relative;
    z-index: 10;
    }

    with

    #ja-header {
    background: url(../images/header/header1.jpg) center;
    position: relative;
    z-index: 10;
    background-size: cover;
    }

    gianluca84 Friend
    #439249

    perfect.

    thank you very much

Viewing 6 posts - 16 through 21 (of 21 total)

This topic contains 21 replies, has 3 voices, and was last updated by  gianluca84 12 years, 10 months ago.

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