Home › Forums › Gillion Theme › Add background image to header
Home › Forums › Gillion Theme › Add background image to header
Hello,
We’d like to add a background image to our currently white header (above our slider). We tried to configure one through the option in the theme settings but it didn’t work whatever we tried.
Do you know why it didn’t work and how we could fix it ?
best regards, Nicolas
Hi @enter1010,
I hope you are well today and thank you for your question.
Could you please share me the site URL where you want to display it and also share the image URL so that i can help you to achieve it?
Best regards,
Shufflehound team
Solution for this topic
You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
header.primary-desktop, header #header-mobile { background: url("https://support.shufflehound.com/wp-content/uploads/2017/11/Degrade-RN-Header-250x141.jpg") repeat-x; }
Perfect, Thank you !
You are always welcome here š
Hello,
Is it possible to activate the image background only on the homepage and leave it blank for other pages ?
Thanks in advance.
Best regards
Solution for this topic
You can display it only on home page by using below custom CSS code instead of above.
.home header.primary-desktop, .home header #header-mobile { background: url("https://support.shufflehound.com/wp-content/uploads/2017/11/Degrade-RN-Header-250x141.jpg") repeat-x; }
Excellent ! Thanks š
You are most welcome here š