Jump to content

Edit History

PrestAlec

PrestAlec

On 8/6/2017 at 12:43 PM, gabdara said:

Put your background image in your theme assets/img folder (create it if not already there).

Then open assets/css/custom.css and add:


#wrapper {
  background-image: url(../img/bkg.jpg);
}

Hi there!
I'm using:
- Prestashop ver 1.7.6.8
- Cache dissabled
- Classic Theme ver 1.0.0

I had changed the background of Shop_1 in this exact way, and it worked just fine.
Then I did the same with another one, Shop_2, (different instance, exactly same Softaculous installation), but it doesn't work... I have been looking around Prestashop's Forum and the rest of the web, for the last 3 days and nothing works.

Despite the fact that both installations are the same (so they should not have different configurations that I'm aware of), I had to start testing unreasonable items: 
-- changed .jpg by .png formats,
-- checked image file permissions,
-- downsized the images, 
-- added other modifiers (background color) to custom.css to check the file was doing his job (it does),
-- changed the custom.css in the browser debugger live to see the changes,
-- even modified the #wrapper section in the theme.css in the browser debugger live (like shows the uploaded image)

I'm completely lost (as a good newbie should be hahaha).

Anyone can help?

Thanks!

2020-11-06 11_26_21-.png

PrestAlec

PrestAlec

On 8/6/2017 at 12:43 PM, gabdara said:

Put your background image in your theme assets/img folder (create it if not already there).

Then open assets/css/custom.css and add:


#wrapper {
  background-image: url(../img/bkg.jpg);
}

Hi there!
I'm using ver 1.7.6.8, Cache dissabled.

I had changed the background of Shop_1 in this exact way, and it worked just fine.
Then I did the same with another one, Shop_2, (different instance, exactly same Softaculous installation), but it doesn't work... I have been looking around Prestashop's Forum and the rest of the web, for the last 3 days and nothing works.

Despite the fact that both installations are the same (so they should not have different configurations that I'm aware of), I had to start testing unreasonable items: 
-- changed .jpg by .png formats,
-- checked image file permissions,
-- downsized the images, 
-- added other modifiers (background color) to custom.css to check the file was doing his job (it does),
-- changed the custom.css in the browser debugger live to see the changes,
-- even modified the #wrapper section in the theme.css in the browser debugger live (like shows the uploaded image)

I'm completely lost (as a good newbie should be hahaha).

Anyone can help?

Thanks!

2020-11-06 11_26_21-.png

×
×
  • Create New...