• Hi there. Im using a theme and I need to change a couple of default images. These are not background images but images in the widget or elsewhere. The style.css file has links in the format url(images/icon-box-info.png)

    Now the theme is picking these images from the image folder within the theme zip file. I’ve cahnged the image in that folder but those aren’t reflecting on my website. Do I need to re-upload the theme or is there any other workaround for this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi!

    Can you post a link to your site?

    Stacy

    Thread Starter muditk

    (@muditk)

    http://muditkakkar.eu.pn/?page_id=36

    The encircled OR in the sidebar widget is a png file. It’s present in the theme images folder. Now I have the png file with which I want to replace the default png but I just don’t know how to go about it.

    You can change the image using CSS. You need to put the image in the images folder.
    Then modify the CSS using your theme custom editor or making a child theme.

    If you try to do this by changing the theme your changes disappear when you update the theme.

    This is the code you need to add to your css file. You must change the name of the file “or-bg.png of course if it is different.

    ‘.appointment .header .or {
    background: url(images/or-bg.png) center center no-repeat;
    }’

    Thread Starter muditk

    (@muditk)

    Sure.So is it possible to replace the image in the images folder through the wordpress interface itself?

    Or will I have to use an FTP client for it? Because right now, all my uploads are through the wordpress web interface itself.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Default image file replacement’ is closed to new replies.