Theme changes (css / header / background) changed (5 posts)

  1. thomlynn
    Posted 5 years ago #


    I've customized the default WP Theme with a background image and header image - and for some reason the custom style.css file is being overwritten with default settings.

    Is there something I need to do to keep this from happening? What is happening here?

    Any help much appreciated.

    Thank you! Tom

  2. henkholland
    Posted 5 years ago #

    Hi Tom,

    First of all, if you are editing the default theme then first make a full copy of it's content to a new directory with another name, like mydefaulttheme . Otherwise, in the next WP upgrade allchanges will be overwritten. An automatic upgrade overwrites Default and Classic theme.

    The rest is hard to answer (for me) without a link to your site.

  3. thomlynn
    Posted 5 years ago #

    Thank you for you reply - here's the url: http://www.marygunderson.com

    It certainly makes sense that the upgrades would overwrite the default theme, and that may be what is happening.

    Any other reasons why the default theme would be restored to original config?


  4. henkholland
    Posted 5 years ago #

    I see it switching from sort of WP default to your theme because the "old" colors load faster then the images used for the bodybackground and the header.
    Take some stuff out of your style.css:
    background-color:#D5D6D7; (find it under body)
    background-color:#73A0C5; (find it under #header)

    In this learning proces this could be handy for you:
    Get Firefox and then the free Firefox addon Firebug. You can then click anywhere in your site and see what piece of the css influences that piece of your site and you can even make changes but not save them, so it is safe to practice.

  5. thomlynn
    Posted 5 years ago #

    Thank you for the tips - I'll make some changes.

    And I'll also create a new default theme (mytheme) so future upgrades don't overwrite the default theme.

    Should be good to go!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.