Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 96034

Rupesh on "[Theme: Leaf] How to replace theme images by using child theme ?"

$
0
0

Hi,

I created child theme based on leaf theme with following folder structure.
LeafChild > images [folder], style.css.

In images folder > no-image.jpg, no-image-small.jpg

If a post does not have any images, it is using these no-image.jpg, no-image-small.jpg files from parent theme. So i modified these images with other images and placed them in my child theme with same folder structure.

LeafChild> images > no-image.jpg, no-image-small.jpg

But when i publish a post with out images, it is still using no-image.jpg from leaf theme instead of using no-image.jpg from LeafChild.

so how can i make my child theme to use images present in child theme folder instead of using them from parent theme.


Viewing all articles
Browse latest Browse all 96034

Trending Articles