Hi, I’ve updated the 404.php file with the text my client wanted (in the child theme), plus I have created a new background image, which has been placed in the ‘images’ folder in the child theme. How do I now make it display the new background image? The new text is showing up fine.
Also I want to move the the paragraph line and search box to beneath the new image. Is that possible?
Sorry, I’ve never touched php before. I’m still just learning html and wordpress 🙂
The path for things like when used in a child theme, in particular, the 404 page, is done from the CSS level. In this case, the style.css has this showing:
/* 404 page */
background: transparent url(images/404.png) center top no-repeat ;
You would need to create a custom version of the container class .error-content so that it points to the new image in the child theme’s own image folder. This would simply go into your child theme’s own style.css
Here is a great site for help on doing backgrounds with CSS: