killeer Posted September 2, 2013 Share Posted September 2, 2013 Hi Guys I am stuck, i have the default theme only on 1.5.5, i have tried to edit the globle css in the default theme but the background colour will not change. I have changed the background to blue, #ddd, ect but the background on the site remains white any help would be great public_html/themes/default/css/global.css generic style ************************************************************************************************ */ body{ font:normal 11px/14px Arial, Verdana, sans-serif; color:#222; background:#fff } body.content_only { background: #FFF; Link to comment Share on other sites More sharing options...
theme_designer Posted September 3, 2013 Share Posted September 3, 2013 Don't forget this ";". Link to comment Share on other sites More sharing options...
killeer Posted September 3, 2013 Author Share Posted September 3, 2013 Thanks for the reply, putting " ; " at the end of the colour code still does not work Link to comment Share on other sites More sharing options...
hxd Posted September 3, 2013 Share Posted September 3, 2013 Don't forget to clear the browser cache. Link to comment Share on other sites More sharing options...
vekia Posted September 3, 2013 Share Posted September 3, 2013 is there any chance to check your website? if so, please share the url Link to comment Share on other sites More sharing options...
killeer Posted September 3, 2013 Author Share Posted September 3, 2013 hi it www.onyxia.co.uk Link to comment Share on other sites More sharing options...
jacibwill Posted September 3, 2013 Share Posted September 3, 2013 I am having the same problem this morning. I change the color in the css...save....go back to css to check...the old code is STILL there! Link to comment Share on other sites More sharing options...
killeer Posted September 3, 2013 Author Share Posted September 3, 2013 That does not happen to me i change the code and when i go back to the global.css its changed but no affect on the site Link to comment Share on other sites More sharing options...
vekia Posted September 4, 2013 Share Posted September 4, 2013 hello it's because you use minifed css files. turn of CCC for css files, recompile theme, and then - turn it back on. it should help Link to comment Share on other sites More sharing options...
optizyme Posted September 4, 2013 Share Posted September 4, 2013 CCC thing also solved my problem. Cheers http://www.prestashop.com/forums/topic/272454-adding-background-image-not-working/ Link to comment Share on other sites More sharing options...
vekia Posted September 4, 2013 Share Posted September 4, 2013 glad to hear that hope that killeer will solve also own issue with this Link to comment Share on other sites More sharing options...
killeer Posted September 4, 2013 Author Share Posted September 4, 2013 (edited) Hi Vekia i have tried as you said but still no joy /* ************************************************************************************************ generic style ************************************************************************************************ */ body{ font:normal 11px/14px Arial, Verdana, sans-serif; color:#222; background:#0066FF } body.content_only { background: #FFF; } mart cache for CSS Use CCC for CSS. Keep CSS as original Smart cache for JavaScript Use CCC for JavaScript. Keep JavaScript as original Minify HTML Minify HTML after "smarty compile" execution. Keep HTML as original Compress inline JavaScript in HTML Compress inline JavaScript in HTML after "smarty compile" execution. Keep inline JavaScript in HTML as original Apache optimization All set to Orignal Edited September 4, 2013 by killeer (see edit history) Link to comment Share on other sites More sharing options...
jacibwill Posted September 4, 2013 Share Posted September 4, 2013 I have had no luck either! Link to comment Share on other sites More sharing options...
vekia Posted September 5, 2013 Share Posted September 5, 2013 can you say something more what you trying to change? and optionally url to your website? Link to comment Share on other sites More sharing options...
killeer Posted September 5, 2013 Author Share Posted September 5, 2013 Hi I am trying to change the background colour, white is soo boreing lol just looking for a different colour, on an older version of ps i changed the global.css and it worked fine but this new install it does not want to play www.onyxia.co.uk thank you for the help so far Link to comment Share on other sites More sharing options...
vekia Posted September 5, 2013 Share Posted September 5, 2013 this is code from your css file: body { background: #fff; font-family: Arial,sans-serif; } it looks like you don't change it. moreover, you've got CCC for css files. can you for test purposes disable it? at all. Then change the background param in global.css file. after that - please don't turn CCC on. i will inspect it then. just let me know that you changed it. Link to comment Share on other sites More sharing options...
killeer Posted September 5, 2013 Author Share Posted September 5, 2013 Hi Vekia Thank you for coming back to me i have changed the global to #6698FF i have also disabled the css Link to comment Share on other sites More sharing options...
vekia Posted September 5, 2013 Share Posted September 5, 2013 thanks! now everything is clear, take a look on this picture: you've got two definition of body tag. first in file style.css, second in global.css in this case backgrund param is defined in style.css. you can fixt it by: modify style.css file (body background param) use this background definition: background: #6698FF!important to global.css (instead simple without !important) decision is yours Link to comment Share on other sites More sharing options...
killeer Posted September 5, 2013 Author Share Posted September 5, 2013 Thanks for the help thats awesome shame i cant find the style.css file tho Link to comment Share on other sites More sharing options...
vekia Posted September 5, 2013 Share Posted September 5, 2013 if everyting will work as you expect - let me know then i will mark this topic as solved Link to comment Share on other sites More sharing options...
killeer Posted September 5, 2013 Author Share Posted September 5, 2013 i will once i find the style.css file Link to comment Share on other sites More sharing options...
stottycabanas Posted September 5, 2013 Share Posted September 5, 2013 Thanks for the help thats awesome shame i cant find the style.css file tho Killeer, you'll find it here: http://onyxia.co.uk/modules/lofmanufacturerscroll2/assets/style.css It's often non-standard modules/themes on a site that prove to be the underlying root cause of reported issues, so it's helpful if their existence can be highlighted early on. Hopefully you can now make the required amendment, and then assuming all is OK, mark the thread as 'SOLVED'. Thanks, Dave Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted September 5, 2013 Share Posted September 5, 2013 it's very simple to find .css, use firebug right click on an element inspect element with firebug to the right it will tell give you the .css related to that element, hover over the .css name and it will even give you the path to the file. Link to comment Share on other sites More sharing options...
vekia Posted September 5, 2013 Share Posted September 5, 2013 oops it's my fault, i didn't noticed that you're looking for this file. i think that stottycabanas helps you in this case it meant, that it is time to sleep Link to comment Share on other sites More sharing options...
killeer Posted September 6, 2013 Author Share Posted September 6, 2013 (edited) Thank you guys very much, i did not think a 3rd party module would overwrite the global.css can we mark this a resolved. On a side note does anyone know how to add an image to the blank sides of the webpage? Edited September 6, 2013 by killeer (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 7, 2013 Share Posted September 7, 2013 what you mean by blank sides of webpage? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now