Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Cant change background colour on my Weebly website

  • 18-02-2013 09:49AM
    #1
    Registered Users, Registered Users 2 Posts: 145 ✭✭


    Any help on this problem would be greatly appreciated as I am a novice when it comes to code and web design.

    I set up a website for a voluntary organisation recently and the background on the website is white I had hoped to change it to light red so I changed the code to - see below - however the background is still white has anyone got any idea what I am doing wrong. Thanks in advance.



    0/* BODY AND CONTAINER */

    body {
    background-colour: #CC3333;
    }


Comments

  • Registered Users, Registered Users 2 Posts: 1,757 ✭✭✭Deliverance XXV


    Any help on this problem would be greatly appreciated as I am a novice when it comes to code and web design.

    I set up a website for a voluntary organisation recently and the background on the website is white I had hoped to change it to light red so I changed the code to - see below - however the background is still white has anyone got any idea what I am doing wrong. Thanks in advance.



    0/* BODY AND CONTAINER */

    body {
    background-colour: #CC3333;
    }

    Disclaimer: No idea how Weebly works but try these:
    • First of all, get rid of that '0' in there before the comment.
    • It should be background-color not background-colour. (Everything has American English spelling)
    • The CSS file could also have a container that is in front of the body so look for container-like names and try them. Keep a copy of the CSS page in case you muck it up! Also, look for styling in divs/containers that contain background-color:#fff or #ffffff and change them to see if that fixes it.
    • If none of these fix it, post up a copy of the whole CSS file.


  • Registered Users, Registered Users 2 Posts: 145 ✭✭Buncha Fives


    Thanks, I changed the spelling of "color" and now the background is red in the preview (which it wasnt before) but when I go into the actual website its still white, dont know why it wont change over just like it is in the preview?

    Disclaimer: No idea how Weebly works but try these:
    • First of all, get rid of that '0' in there before the comment.
    • It should be background-color not background-colour. (Everything has American English spelling)
    • The CSS file could also have a container that is in front of the body so look for container-like names and try them. Keep a copy of the CSS page in case you muck it up! Also, look for styling in divs/containers that contain background-color:#fff or #ffffff and change them to see if that fixes it.
    • If none of these fix it, post up a copy of the whole CSS file.


  • Registered Users, Registered Users 2 Posts: 2,516 ✭✭✭mayo.mick


    Thanks, I changed the spelling of "color" and now the background is red in the preview (which it wasnt before) but when I go into the actual website its still white, dont know why it wont change over just like it is in the preview?

    Click "Publish" ?


Advertisement