Jump to content

Change to global css - didn't work?


Recommended Posts

Hi

 

I changed the global css to put a background image onto the default theme (something most of you have probably done many times).

 

I can't fiqure out why its not showing the image?

 

I moved the required image into the img folder first, then copied, inspected and changed the line background coding.

 

I checked the code in a code checker so its good!

 

Everything is running ok on my theme (which is good news) but any ideas what i did wrong or what I should have done to make it work?

 

Anyone else had this happen to them? I'm reluctant to try over as something may be 'not good here' so prefer to ask....

 

Thanks

Poly

Link to comment
Share on other sites

Hi

Here is the code as requested. It was edited using notepad and checked with WC3 before changing. I thought I was doing well? ha ha ha.... I'm sorry I don't understand your request for adv preferences? what info do you need?

 

Thanks Poly

 

generic style

************************************************************************************************ */

body{

font:normal 11px/14px Arial, Verdana, sans-serif;

color:#222;

background-image:url('tricolore.png');}

 

body.content_only {

background: #FFF;

}

Link to comment
Share on other sites

background-image:url('tricolore.png')

code that you used means that you have to upload picture exactly there, where the .css file is - in this case themes/your_theme/css/global.css directory.

Have you uploaded it there?

 

by advanced preferences > performance i mean tab in back office. You can define there options for CCC, when you've got it enabled for css files - you have to disable it while you're working on stylesheet for your website.

Link to comment
Share on other sites

Hi

I did not turn on or off anything (but interestingly I have recently changed pc from vista to windows 8 & think I should ask in a new thread if 8 has any issues with prestashop or vice versa)?

 

Please see the info copied from screen.

 

Il y a 2 avertissements. Cacher l'avertissement

· Pour utiliser Memcached, vous devez installer l'extension Memcached PECL sur votre serveur. http://www.php.net/manual/fr/memcache.installation.php

· Pour utiliser Xcache, vous devez installer l'extension Xcache sur votre serveur. http://xcache.lighttpd.net

 

 

To me this looks complicated to achieve I'm hoping you are all gonna tell me otherwise!

 

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...