-
AuthorPosts
-
edd Friend
edd
- Join date:
- May 2006
- Posts:
- 350
- Downloads:
- 11
- Uploads:
- 73
- Thanks:
- 76
- Thanked:
- 8 times in 2 posts
March 24, 2015 at 9:32 am #204960Hi there
I would like to insert an image background to the header.
Please take a look to the attachement.
Thanks for help
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
March 24, 2015 at 10:26 am #564404Hello 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 Friendedd
- Join date:
- May 2006
- Posts:
- 350
- Downloads:
- 11
- Uploads:
- 73
- Thanks:
- 76
- Thanked:
- 8 times in 2 posts
March 24, 2015 at 11:03 am #564406Hi 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 🙂
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
March 24, 2015 at 11:06 am #564407Hello
in this case i need to check your site .
share your working site url here .edd Friendedd
- Join date:
- May 2006
- Posts:
- 350
- Downloads:
- 11
- Uploads:
- 73
- Thanks:
- 76
- Thanked:
- 8 times in 2 posts
March 24, 2015 at 11:19 am #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 ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
March 24, 2015 at 11:47 am #564412Hello 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 Friendedd
- Join date:
- May 2006
- Posts:
- 350
- Downloads:
- 11
- Uploads:
- 73
- Thanks:
- 76
- Thanked:
- 8 times in 2 posts
March 24, 2015 at 11:59 am #564413Hi there,
Sorry, it is not working at all, I’m having a white space, the image is not showing.
Any idea?
Thanks
edd Friendedd
- Join date:
- May 2006
- Posts:
- 350
- Downloads:
- 11
- Uploads:
- 73
- Thanks:
- 76
- Thanked:
- 8 times in 2 posts
March 24, 2015 at 12:17 pm #564414Hi 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
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 2 voices, and was last updated by edd 9 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum