Tagged: background image, header
How do I add a background image to the header?
Hi ycoleman31!
I just loaded your web site and I can see a background imagd there is that correct?
Regards,
Basilis
yes, but it is not displaying on the front end.
This is the code I put into the quick css box:
.header-main{
background-image: url(http://test.wildlydifferent.com/wp-content/uploads/2016/04/header-bg.jpg) no-repeat top right;
background-size: contain;
}
Hey!
Try the following code to replace the above one you posted:
#header_main{
background: url(https://test.wildlydifferent.com/wp-content/uploads/2016/04/header-bg.jpg) repeat top right;
background-size: contain;
}
Best regards,
Jordan
Hi Jordan,
The code above did not work. Can we try something else?
Yvonne
Hi Yvonne,
Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
Rikard
Hi Rikard,
Thanks for looking into this.
Yvonne
Hey!
Can you please switch user role to administrator?
Also, have you tried uploading your header background image in Enfold theme options > General Styling > Logo area?
Best regards,
Yigit
Hi Yigit,
I switched it to administrator. Sorry about that. I did not upload into the logo area as I don’t need the whole image to be linkable, just the logo. Would I not have to have the logo then add to the whole background image if I upload it that way?
Thanks,
Yvonne
Hi!
Yes, if you set your background image in Enfold theme options > General Styling > Logo Area, it will not be clickable like your logo :)
Cheers!
Yigit
Hi Yigit,
That was too easy!
Thank you so much!!
Yvonne