Advertisement:

Author Topic: Can not change theme background (still the old one)  (Read 1009 times)

Offline Monk95

  • Newbie
  • *
  • Posts: 3
Can not change theme background (still the old one)
« on: October 12, 2017, 06:38:08 AM »
I uploaded my new background for the theme, and it won't change old one. Linking to the image is correct, but it won't show. When i remove old image, it is still on the forum, weird. I cleaned cookies, caches from my browser.

Also, when i edit css file from theme i use, it won't edit it. Only thing i can edit is php files. I had a problem with header, but somehow i managed it work.

Offline Looking

  • SMF Hero
  • ******
  • Posts: 2,126
  • SMF Customization
    • jeanborde on Facebook
    • SMF Custom Themes
Re: Can not change theme background (still the old one)
« Reply #1 on: October 12, 2017, 07:59:53 AM »
What did you edit to change the background?

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 7,082
  • 'Tis the gift to be simple
Re: Can not change theme background (still the old one)
« Reply #2 on: October 12, 2017, 05:11:51 PM »
Images can be very persistent, it's sometimes difficult to determine where it's being cached - browser, forum, server?  You can determine if it's a caching problem by changing file name, that should display new image.  Try different browser, clear forum cache, find out what, if any, caching your server is using.
 

Offline Monk95

  • Newbie
  • *
  • Posts: 3
Re: Can not change theme background (still the old one)
« Reply #3 on: October 15, 2017, 12:14:20 PM »
What did you edit to change the background?

I edited css file from theme. When i go to admin panel > themes and layout > modify themes and when i edit css file from admin panel, on preview screen my background is changed but it won't apply.

I uploaded my new background for the theme, and it won't change old one. Linking to the image is correct, but it won't show. When i remove old image, it is still on the forum, weird. I cleaned cookies, caches from my browser.

Also, when i edit css file from theme i use, it won't edit it. Only thing i can edit is php files. I had a problem with header, but somehow i managed it work.

I can not change whole css file, for example, if i want to change wrapper size, it won't change.

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 48,056
Re: Can not change theme background (still the old one)
« Reply #4 on: October 15, 2017, 02:18:29 PM »
ask your host if they cache css.

Offline Monk95

  • Newbie
  • *
  • Posts: 3
Re: Can not change theme background (still the old one)
« Reply #5 on: October 15, 2017, 03:27:18 PM »
ask your host if they cache css.
I don't think so because that happens only on theme i use (Pelikan).

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 7,082
  • 'Tis the gift to be simple
Re: Can not change theme background (still the old one)
« Reply #6 on: October 15, 2017, 04:47:31 PM »
Can you confirm that edited css file has actually been saved?

Offline aegersz

  • Sophist Member
  • *****
  • Posts: 1,117
  • Gender: Male
  • "mods" junkie
    • dopetalk
Re: Can not change theme background (still the old one)
« Reply #7 on: October 16, 2017, 06:15:34 AM »
I had a CSS change that took ages to find its way to my browser.

I waited a fair while but then it just turned up!

caching issue in my case.
SMF 2.0: 135+ mods installed (the full list can be seen at http://forum.drugs-and-users.org/index.php/topic,3301)