I need to create custom page template which will not have header background image
October 10, 2020
what I want to do – I want to have a slider set as a background image on my front page, but want all the rest of the pages not to have it (slider behind the title). Is there easier way to do that?
You can create a custom page template if you want. For instructions on that, read this documentation. You can also see a page template built into the theme for a good starting point. In your theme file, look at the file page-guestbook.php
Now, you also might be able to achieve your goal by using Custom CSS. Every WordPress page or post is assigned a unique class in the <body> tag. So for example, If I wanted to change the background image for my home page, I would insert the following Custom CSS.
// Change body background for a specific page with post_id == 2
background: url("http://wordpresscanvas.com/wp-content/uploads/2013/10/YOUR-IMAGE-FILE.jpg") repeat center top scroll;}// Remove header background for a specific page with post_id == 2