Jump to content

[SOLVED ]Help cant change background colour


Recommended Posts

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

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
 enabled.gif  disabled.gif
 
All set to Orignal
Edited by killeer (see edit history)
Link to comment
Share on other sites

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

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

thanks!

 

now everything is clear, take a look on this picture:

NHMcc5z.png

 

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:

  1. modify style.css file (body background param)
  2. use this background definition: background: #6698FF!important to global.css (instead simple without !important)

 

decision is yours :)

Link to comment
Share on other sites

Thanks for the help  thats awesome shame i cant find the style.css file tho :P

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

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...