WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Background Colour gone wrong (31 posts)

  1. clairechair
    Member
    Posted 1 year ago #

    So, Thanks to a friend who is no longer a friend, my site is suffering badly, mainly because, she charged me a fortune to build it...but didnt really know how to herself!!
    Anyway, I have just updated wordpress and low and behold, my Background colour will not work...in the editor it is showing it, but it doesnt show it actually on the site. I have looked in Header.php and cannot find the body bit...in truth it looks an absolute MESS...I also looked at the custom CSS and changed the background to the colour but alas...NOTHING...in truth, I am honestly wondering what I bothered with WordPress for because, I cannot find anything in any of the files....everything is gobbledygoup and I think it was easier with a ready built one form one of the hosters..

    If anyone can help me I would be very grateful..oh and I strongly suggest that no one usues the web designer I did!

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Let's take a look at this mess, can you link the website?

  3. clairechair
    Member
    Posted 1 year ago #

    you mean tell you the website?..its 360mrc.com
    x

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    The background colour for which element won't work?

  5. clairechair
    Member
    Posted 1 year ago #

    Sorry ANdrew..I dont know what you mean...If you look at the site...the whole bit round the outside background should be green...its white...it went white when I updated WP and so I resotred the database and that didnt work either

    ta

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    In your custom CSS, remove this;

    .custom-background

    So you end up with this;

    body {
     background-color: #062d06;
     background-image: url('http://360mrc.com/wp-content/uploads/2011/11/360Bgnd.png');
     background-repeat: repeat;
     background-position: top center; background-attachment: scroll;
    }
  7. clairechair
    Member
    Posted 1 year ago #

    I cannot find .custom-background

    how do I search for it?

    and I cant even find the other stuff you have typed

    really confused and dont know anything about WP

  8. Andrew
    Forum Moderator
    Posted 1 year ago #

    Download the Jetpack plugin and use its Custom CSS functionality to hold your CSS modifications from now. Then enter within the Custom CSS section of the dashboard;

    body {
     background-color: #062d06;
     background-image: url('http://360mrc.com/wp-content/uploads/2011/11/360Bgnd.png');
     background-repeat: repeat;
     background-position: top center;
     background-attachment: scroll;
    }
  9. clairechair
    Member
    Posted 1 year ago #

    Andrew

    This is what is in the Unite: Skin-360.css

    /*** Skin Styles ***/

    body { color: #AAA; } /* default font color */
    /*#Wrapper, body { background color:#062d06 url("images/skins/skin-360/bodyBgnd.png") repeat-x 0 0; } */ /* background color/graphic */
    #PageWrapper {padding: 10px 0px 0px 0px;}

  10. Andrew
    Forum Moderator
    Posted 1 year ago #

    You can put the CSS in there if you want, but I'm not sure how your theme works as it's custom-built. Your styles may be overridden if you use that stylesheet.

  11. piyushgoyal1
    Member
    Posted 1 year ago #

    i am also geeting same problem at ugcnetanswerkeys

  12. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    piyushgoyal1 - please stop posting in other people's threads - start your own if you need help.

  13. clairechair
    Member
    Posted 1 year ago #

    Sorry but I still cant do this

    Can anyone who really knows WP look at my site and tell me how to get it back.

    There is a WHOLE HOST of problems with this site and the person who built it in truth, HASNT GOT A CLUE!!...but that is another issue.

    I am bored with trying to do this, surely there is a simpler thing than the amount of code that is being used for this site?

    Is there such a thing as a WordPress hospital or something whereby a copy of my database can be given to someone who knows what they are doing and they fix all the bugs (like galleries that dont work, shopping trolley and products that dont update....I work in Finance and I have never seen anything like this, who owns WP?...where can I get real help?

    Sorry if I seem upset but I pauid a lot of money foor the development of this site and although it looked good from a far, it is actually far from good!

  14. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    It's understandable that you are upset and frustrated, but if the developer did a poor job, you should be talking to him/her. If you want help fixing it, we can help you, but we cannot do it for you. And for extensive work on a custom theme, that may be beyond the scope of these forums. If there are additional, major problems, you may need to consider hiring someone else to fix them:

    http://jobs.wordpress.net/

  15. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    And I should also add - no one "owns" WordPress -- it's an entirely volunteer open-source project -- no one here gets paid anything.

  16. clairechair
    Member
    Posted 1 year ago #

    I'll gladly pay someone....but thats what I did last time...and so thats why I am a bit frustrated and sceptic for which I apologise. There is a thing on the admin panel of my WP that says "repair Database" but it just shows all the files and then a "Yes/No" button next to it.

    There is also an "Optimise Database" which has the same yes no next to each table, there are 92 seperate files/tables within the database, is that big?

  17. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Why do you thing you have a database problem? I would not mess with that unless you know what you are doing and know that that's the problem-- which, for the one discussed above, that's not related at all.

  18. clairechair
    Member
    Posted 1 year ago #

    Sorry but it is related. The website works off WP, WP works off the database. I updated WP and it changed the background colour, WP is telling me that the background colour is green, it shows me it in the admin panel as a little block thats green, but, the website is showing it as WHITE, so, somewhere in that DATABASE is something telling that WP to populate it white, therefore I have a problem with the database no?

    Unless my definition of Database is different to yours?

  19. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    The color is set in the CSS code -- which is in a theme file -- not in the database.

  20. clairechair
    Member
    Posted 1 year ago #

    OK I will ask another question.

    WHERE does WP look to be told to use a custom skin?..is that comand in the Header.php?

    for example this is what is in the Header.php, should there be reference there to my custom skin?

    Website is 360mrc.com btw

    Skin CSS include (selected in theme options)
    if (get_theme_var('skinName')) {
    if (get_theme_var('skinName') == 'custom' && get_theme_var('custom_skin')) {
    $skinCSS = get_theme_var('custom_skin') .'.css';
    } else {
    $skinCSS = 'style-skin-'. get_theme_var('skinName') .'.css';
    }
    echo '<!-- Skin Style Sheet -->';
    echo '<link rel="stylesheet" href="'. $cssPath . $skinCSS .'" type="text/css" id="SkinCSS" />';

  21. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Which CSS is applied (used) depends on several factors - you'll need to understand how CSS works - below are two good reference sites, though there are many other good ones online as well:

    http://www.w3schools.com/css/

    https://developer.mozilla.org/en-US/docs/CSS/Getting_Started

  22. clairechair
    Member
    Posted 1 year ago #

    Sorry but why did it change when I updated WP with the update it kept telling me I must do?

    Why now when the admin bar in my site says that I have the background colour selected , does it not work? why is something that everyone tells me is so great, proving to be so hard?

    Why is there not one place that says "this is the background colour"

  23. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    I really can't answer that because you have a custom theme - I don't know how it is coded. It's possible that something(s) got overwritten in the WP update and/or that the theme uses code that is incompatible with the current WP.

    But if you follow Andrew's suggestion above, you CAN override any CSS to make the background whatever you want -- add the important to the code he posted -- and it DOES work -- I just tested it in Firebug:

    body {
     background-color: #062d06;
     background-image: url('http://360mrc.com/wp-content/uploads/2011/11/360Bgnd.png') !important;
     background-repeat: repeat;
     background-position: top center;
     background-attachment: scroll;
    }
  24. clairechair
    Member
    Posted 1 year ago #

    BUT WHERE DO I ADD THAT CODE????? What FILE do I put it in?

  25. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Please do not yell here: http://codex.wordpress.org/Forum_Welcome#The_Bad_Stuff

    I understand that you are frustrated, but these forums are free, staffed by volunteers and do not, generally provide support for custom themes.

    Per Andrew's post above:

    Download the Jetpack plugin and use its Custom CSS functionality to hold your CSS modifications from now. Then enter your code within the Custom CSS section of the dashboard.

  26. clairechair
    Member
    Posted 1 year ago #

    Sorry you should read what that says, it says DO NOT (even in its own text) post in all caps, if you look i didnt, just to confirm, its not "shouting" as you cannot shout with text, I was EMPHASISING those words plus the word FILE, (Look at your previous post you use caps with the word CAN, did I think you were shouting?)

    I do not want to download the Jetpack plug in, it was the fact that i downloaded an update that got the site into this mess in the first place, I want to find the code that is causing the problem

  27. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Right now the background is being set in this code:

    body {
        background: none repeat scroll 0 0 #E8EBEC;
        color: #595959;
        font: 13px/1.4 "Trebuchet MS",Arial,Helvetica,sans-serif;
    }

    line 5 of this file: http://360mrc.com/wp-content/themes/360mrc/style-default.css

    If you need further help, I'd suggest hiring someone to help you.

  28. clairechair
    Member
    Posted 1 year ago #

    I COULD KISS YOU!!! (sorry for shouting!!!)

    But please, can you tell me , how you knew it was that file?...do you look at the site and see it?...do you havwe special equipment?

    I cannot thank you enough

  29. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    The "secret" to working with CSS is using a tool such as Firebug - it shows you all the CSS affecting an element on the page. You can also test changes in the browser before making them on the actual site. It's really useful and cool actually. Your life will improve a lot with it :).

    You're welcome!

  30. clairechair
    Member
    Posted 1 year ago #

    Seriously, I dont know you but thank you sooooo much!

    If you like Motorsport, you are mmost welcome at our events....now...time for me to download Firebug i think!!!

    Thanks again ALL (Including those who previously posted as well)

    ta
    C

Topic Closed

This topic has been closed to new replies.

About this Topic