Can't change background image in child theme
-
Hi,
I’m new to using child themes so would appreciate some help / guidance with the following problem.
I’ve installed a parent theme and setup a child theme to create a website. All is OK with the setup and the child style.css file works OK for making changes to most things. However, I cannot work out how to change a background image in the footer.php via the child theme?
I’ve created a new image folder in the child theme directory and have loaded a background image I want to use. I’ve changed the image definition in the child style.css but it won’t overide the parent CSS?
I’ve read about having to using
<img src=”<?php bloginfo(‘stylesheet_directory’); ?>/image.jpg” alt=”Alt texts are nice” />
to get this to work?
However, the css definition for finding the background image uses a relative url path, ie, images/newimage.gif.
Going round in circles at the moment so any help much appreciated.
John C
- The topic ‘Can't change background image in child theme’ is closed to new replies.