Background images on every page but home

http://www.grapelakesfarm.com/
i want to keep this colour of background only on my home page

the rest of the site i would like to have barnboard

how do i do this

Hi there,

Thanks for writing around! Try adding the following code in the Theme Options > CSS:

body:not(.home) .site{
  background: url('http://www.grapelakesfarm.com/wp-content/uploads/2017/05/20150506_181932-300x271.jpg');
  background-size: cover;
}

This will add a background image to all of your pages except the home page. Just change the image URL with your barnboard image URL in the above code.

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.