Copy link to clipboard
Copied
as the title
i cant change the colour of my site (none of them) ( i can change it but nothing happens), but giving the site a backgroundimage is no problem..
i dont get it???
please help
If you take the second image Erscheinungsbild (CSS) and change the value of Hintergrundfarbe and click on Anwenden, then the background colour should change accordingly. If not, go into code view and in the first 15 lines of code you should be able to find code similar to
body {
background-color: #D70609;
}
change that to read (i.e. add !important)
body {
background-color: #D70609 !important;
}
Viel Glück
Copy link to clipboard
Copied
There are two different ways to set a background colour, namely
background: green;
and
background-color: green;
Depending on which one was set prior to you changing the colour will determine which one to use for the override.
If in doubt, use background: green !important;
Copy link to clipboard
Copied
hi
thanks..
i guess u mean once in html (background) and once in css (backgroundcolour)


i did both now, and applied, still nothing and a white background on my site
hmmm??? hmm
Copy link to clipboard
Copied
If you take the second image Erscheinungsbild (CSS) and change the value of Hintergrundfarbe and click on Anwenden, then the background colour should change accordingly. If not, go into code view and in the first 15 lines of code you should be able to find code similar to
body {
background-color: #D70609;
}
change that to read (i.e. add !important)
body {
background-color: #D70609 !important;
}
Viel Glück
Copy link to clipboard
Copied
yeahh;) now it works
body {
background-color: #D70609 !important;
}
well done fellows, thanks a lot!!
best , christoph
Copy link to clipboard
Copied
To help you understand the !important value, have a look here When Using !important is The Right Choice | CSS-Tricks
Find more inspiration, events, and resources on the new Adobe Community
Explore Now