change the background of the header and content

Hello,

I have a question and would like your help, I’m using Travelife model and would like to change the background and put a picture, I know I can change the color but I intend to put a picture, I could already change the background of the site, however I want to change the background of the header and content placing an image.

Julio Henrique

Hi @xuxu,

I hope you are well today and thank you for your question.

You can set the background image for header and content by using the following CSS code respectively.

#branding .container {
  background: url("https://cdn3.colorlib.com/wp/wp-content/uploads/sites/2/we-are-hiring.png");
  max-width: 100%;
}
div#main {
  background: url("https://cdn3.colorlib.com/wp/wp-content/uploads/sites/2/we-are-hiring.png");
}

You can use the above CSS code by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Apperance -> Theme Options -> Other -> Custom CSS

Change the image URL in the above code to what you want to set as background image.

Best Regards,
Movin