I have added this to the drupal forum, but I think it's a theme issue:

I am getting the oddest problem when trying to change the background image of the SimpleCorp theme by More Than Themes.

First, I found the image I wanted to use, then named it the same ( sites/all/themes/simplecorp/images/sampleimages/main-bg1.jpg) and uploaded it . Once in a while it would work, but if I clicked to another page, the old image would show up. Cleared my cache, looked through all my files to find where the old image was... nothing changed.

Then I renamed the image and changed it - including the file location - in the css. Again, it would work sometimes, and other times it would show the old image.

The odd thing is, the css shows a very long extended code when I look in Inspect Element: sites/all/themes/simplecorp/images/sampleimages/xmain-bg1.jpg.pagespeed.ic.b-U-pugLSU.jpg.

I have no idea where that is coming from! I have even tried saving the image with that entire long string - but it still finds the old image.

I have looked through every php template, and I see nothing hardcoded in.

Comments

skech’s picture

Hi guitarma,

the main-bg1.jpg is located into /simplecorp/images/sampleimages/ folder and hardcoded into simplecorp/css/main-css.css file.

One way to change the background image is to replace the main-bg1.jpg image file, that is located into /simplecorp/images/sampleimages/ folder, with your image and keep the same name (main-bg1) and format (.jpg). Clear all cashes.

Here https://drupal.org/node/2034913, you can find another way how you can change the bg image.

Thanks
Soukri