WordPress.org

Ready to get started?Download WordPress

Forums

style.css not picking up changes - please help (17 posts)

  1. dp1304
    Member
    Posted 4 years ago #

    Hi, Just installed my first wordpress blog and am just configuring it now. I am using the default theme and via the admin control panel/editor I have changed the style.css to change the background colour to the following:
    /* Begin Typography & Colors */
    body {
    font-size: 62.5%; /* Resets 1em to 10px */
    font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
    background: #454841;
    color: #333;
    text-align: center;
    }
    I am now totally lost as to why the change is not apparently being picked up. I have checked through file manager to see if I am editing the correct file and just to be certain it is the file wp-content/themes/default/style.css file that I have edited.

    Can someone please point me in the right direction for this?

    Oh just in case you need to see the test blog here it is http://davidpagephotography.com/wordpress/

  2. Peter Boosten
    Member
    Posted 4 years ago #

    This is what I see:

    body {
    -moz-background-clip:border;
    -moz-background-inline-policy:continuous;
    -moz-background-origin:padding;
    background:#454841 none repeat scroll 0 0;
    color:#333333;
    font-family:'Lucida Grande',Verdana,Arial,Sans-Serif;
    font-size:62.5%;
    text-align:center;
    }

    Refresh your browser?

  3. Mark / t31os
    Moderator
    Posted 4 years ago #

    That's because you're using Firebug phoosten..

    This is what's actually in the stylesheet.

    /* Begin Typography & Colors */
    body {
    	font-size: 62.5%; /* Resets 1em to 10px */
    	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
    	background: #454841;
    	color: #333;
    	text-align: center;
    	}

    And further down is..

    /* Begin Structure */
    body {
    	margin: 0 0 20px 0;
    	padding: 0;
    	}

    dp1304 i can see the greyish background colour no problem...

  4. Peter Boosten
    Member
    Posted 4 years ago #

    I know, I was merely referring to the (background)color ;-)

  5. Mark / t31os
    Moderator
    Posted 4 years ago #

    Ok... ;)

    So why post that whole chunk of code? ... because half the background line you posted doesn't exist, you'll just confuse the thread poster...

    ;)

    No problem anyway.. :)

  6. Peter Boosten
    Member
    Posted 4 years ago #

    Early in the morning, I guess, I didn't mean to confuse anyone.

    :-)

  7. dp1304
    Member
    Posted 4 years ago #

    Thanks for the replies but I am afraid I am still non the wiser.

    t31os_ the colour should not be greyish #454841 is a sort of dark greeny colour. I have now changed the background colour to #000000 (black) but again the greyish background is still there.

    What am I doing wrong??????

    Oh by the way I have cleared the cache on my browser and that doesn't seem to effect it. The fact that t310s_ also sees the greysih background would seem to prove that it is not my browser causing the problem.

  8. Peter Boosten
    Member
    Posted 4 years ago #

    In my browser it's black, right now.

  9. Mark / t31os
    Moderator
    Posted 4 years ago #

    Still see the green/grey color here.

    Then the stylesheet does still say...
    background: #454841;

    So i wouldn't expect to see anything else..

    Did a full refresh, still the same..

    If you're editting from the WordPress editor is there a message at the bottom of the page by any chance? Something in relation to permissions.

  10. dp1304
    Member
    Posted 4 years ago #

    Sorry t310s_ I have changed back to my rquired colour background #454841 of greeny/grey and that works fine in ie and Firefox when I am not signed into the blog.

    If I sign into the blog then the colour change is not showing up. I can't see anything on the editor page regarding permissions though.

    I suppose it must be something to do with the admin user ? Anybody got any clues?

  11. Mark / t31os
    Moderator
    Posted 4 years ago #

    Which user you're logged in as will not make any difference to whether the CSS renders correctly.

    I think the changes are applying, as far as i can tell, and pboosten said he saw the change you made, so i'm not sure what to suggest.

  12. henkholland
    Member
    Posted 4 years ago #

    dp, are you expecting colors in your admin/edit post box/screen? Sorry,no go there.
    If you really mean that viewing your site/blog after logging in does not show the set colors, I suspect it has to do with your plugin for theme colors, Theme Tweaker.

  13. dp1304
    Member
    Posted 4 years ago #

    Yahoooooooooooooooooooooooooo!!! It's fixed.

    Thanks to all for your help and yes henkholland you hit the nail on the head. I removed the Theme Tweaker plugin and hey presto all colour changes made were visible when I was logged in as admin.

    Moral of the story - perhaps avoid Theme Tweaker

    Now how do I get a clickable image into the heading?................. ;-)

  14. henkholland
    Member
    Posted 4 years ago #

    Good, now do a little forum search on your new question and you will find a lot about that.

  15. lladybee
    Member
    Posted 4 years ago #

    Im currently trying to edit my content font coclour, sixe, style etc im having a bit of trouble, 1st question, where do you get these colour codes from? e.g #454841, #000000 etc how do you get the code for each colour?

    2nd question, i was having similar problens last night i managed to change the title font style, and also tried to change the content font sixe but my changes didnt work, im not sure wether i was editing the coreect things so could you tell me if i want to do those things what part of the css stylesheet code do i need to change.!

    Can someone please point me in the right direction to!

    link http://www.sjhbricks.co.uk

  16. Mark / t31os
    Moderator
    Posted 4 years ago #

    Your theme's style.css

    Info relating to CSS.
    http://codex.wordpress.org/CSS
    http://www.w3schools.com/css/

  17. henkholland
    Member
    Posted 4 years ago #

    And this one is great for color code's:
    http://www.colorschemer.com/online.html

Topic Closed

This topic has been closed to new replies.

About this Topic