WordPress.org

Ready to get started?Download WordPress

Forums

Editing default style.css (18 posts)

  1. mistercrumbs
    Member
    Posted 8 years ago #

    Apologies if I'm missing something really obvious here, but I'm using the default theme supplied with WordPress as a basis for my own theme, but after editing style.css and uploading it to the server the changes don't seem to be reflected in the background colours/fonts etc.

    Thank you in advance :)

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    What are you expecting to see? I see default with a dark red gradient header image.

    I'd add that the default isn't the best theme to start off as a base for changes - it has it's own 'quirks' :)

  3. mistercrumbs
    Member
    Posted 8 years ago #

    Hmmm, well just to start off with I changed the background colours and border widths/style.

    But nothing I change in style.css seems to affect the theme at all :).

  4. Mark (podz)
    Support Maven
    Posted 8 years ago #

    This might sound really daft, but it is this css you are editing?
    http://blog.mistercrumbs.com/wp-content/themes/default/style.css
    Are you editing from inside WP?

  5. mistercrumbs
    Member
    Posted 8 years ago #

    I'm editing in notepad, then uploading and replacing the original style.css.

    Frantically ctrl-f5ing doesn't help either :).

  6. Dgold
    Member
    Posted 8 years ago #

    make sure you're uploading into the theme that you've got activated

    that may seem obvious but could trip you up if you're actually using your own modification and not the /default/ theme installation.

    secondly, the default theme is kind of strange in that it has Images (jpgs) for the site background. So resetting the background color in the CSS, your new color might be hiding behind the background images. So you can either recolor the images in Photoshop, or try to remove the images from the theme and use CSS background colors. Or switch to another theme to start with.

  7. mistercrumbs
    Member
    Posted 8 years ago #

    Thanks for helping, I'm definately uploading into the default theme directory, as the changes I'm making locally are being displayed here ---> http://blog.mistercrumbs.com/wp-content/themes/default/style.css

    Before I posted here I deleted and then re-uploaded all the images associated with the theme, after deleting them the background changes still didn't show.

    Just out of interest I've just deleted style.css from the sever and refreshed the page, the colours are still default without style.css.

    I've looked through all the other PHO files and there's nothing else I can find that mentions layout.

    Maybe I'll just try another theme to fiddle with :)

  8. moshu
    Member
    Posted 8 years ago #

    Just to add to the complications: all the styles related to images are in the header.php - not in the stylesheet.
    So, yes: pick another theme.
    And for seeing the same stuff - empty the cache folder under the wp-content.

  9. Mark (podz)
    Support Maven
    Posted 8 years ago #

    ahh.....

    Download wp-config.php
    Add this inside it
    define('DISABLE_CACHE', true);
    upload and see what happens.

  10. mistercrumbs
    Member
    Posted 8 years ago #

    Ooooooh, I didn't think of that, I'll try it now :)

    Anywhere in particular I should add that?

    Thanks folks.

    x

  11. vkaryl
    Member
    Posted 8 years ago #

    Just below the rest of the "define" lines is fine.

  12. mistercrumbs
    Member
    Posted 8 years ago #

    Yeah, sorry just after I posted that there was a lunchbreak and I worked it out :)

    Hmmmm, I did as you suggested and once I uploaded it, it told me I hadn't installed WordPress yet, it's up again now having gone through install.php again.

    Also, I don't have a cache folder :).

    Added define('DISABLE_CACHE', true); after the reinstall and it's still showing up as white, yet when I click my comments link (http://blog.mistercrumbs.com/?p=1#comments) the background and font colour's changed.

  13. mistercrumbs
    Member
    Posted 8 years ago #

    Sorry for bumping this, but it doesn't appear to have updated :).

  14. mistercrumbs
    Member
    Posted 8 years ago #

    I don't mean to hound you fine people, but any ideas?

    x

  15. moshu
    Member
    Posted 8 years ago #

    Bumping every hour is considered very annoying and will not get you any answer faster...

  16. mistercrumbs
    Member
    Posted 8 years ago #

    Eeek, sorry, I'll shush.

    Just wanting to work it out before I go to bed.

    x

  17. Mark (podz)
    Support Maven
    Posted 8 years ago #

    You aren't hounding us :)

    I think that maybe some of your changes in the style.css are being overrules by the css that is in header.php? That's a possible cause.
    Unfortunately this theme looks very deceptive - nice on the outside but something rather differeny inside. I don't want to push you away if what you want is close to this but there are other themes whcih are easier to bend to your will..

  18. mistercrumbs
    Member
    Posted 8 years ago #

    Thanks Podz, I think I'll give up on editing that theme and try another one..

    Cheers for your help folks <3

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.