Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • edd Friend
    #204960

    Hi there

    I would like to insert an image background to the header.

    Please take a look to the attachement.

    Thanks for help


    1. pantall-head
    Pankaj Sharma Moderator
    #564404

    Hello you can add the bg image in the header
    Add the below code in your custom.css file


    .t3-header {
    background: url('http://abc.con/xyz.jpg');
    }

    Add your image url in the above code .
    Clear cache ad check.

    edd Friend
    #564406

    Hi there,

    Thanks for your reply.

    In fact it is working but the image is all on the right side and on left side there is “white hole”.

    My image is 1180px / 152px

    The code I’m using is :

    .t3-header {
    background-image: url(http://www.mywebsite.com/images/headertest.jpg);
    background-repeat: no-repeat;
    }

    Please take a look to the attached image :

    Thanks for help 🙂


    1. pepepantalla00997766
    Pankaj Sharma Moderator
    #564407

    Hello
    in this case i need to check your site .
    share your working site url here .

    edd Friend
    #564409

    <em>@pankajsharma 465178 wrote:</em><blockquote>Hello
    in this case i need to check your site .
    share your working site url here .</blockquote>

    Sent you a PM 🙂

    Pankaj Sharma Moderator
    #564412

    Hello Your image width is small then the template width .
    so you can use the following property
    Replace old code with this code

    .t3-header {
    background-image: url('http://www.jazzed.fr/combleux/images/headertest.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    }

    it will look like this >>> http://prntscr.com/6kpqgq

    edd Friend
    #564413

    Hi there,

    Sorry, it is not working at all, I’m having a white space, the image is not showing.

    Any idea?

    Thanks

    edd Friend
    #564414

    Hi there,

    I dont know what was wrong, but I copy and paste the first code with just one line from your code:

    .t3-header {
    background-image: url(http://www.jazzed.fr/combleux/images/headertest.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    }

    Now is working fine

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

This topic contains 8 replies, has 2 voices, and was last updated by  edd 9 years, 1 month ago.

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