Need help? Check out our Support site, then


CSS changes keep being re-set

  1. notesfromafrica
    Member

    Hi!

    I am having a problem with the CSS changes I’ve made to my blog theme. During the last couple of weeks, the CSS keeps resetting to the original CSS, and I have to re-save my CSS changes again to activate them. This is now happening on an almost daily basis.

    This is a very recent problem - my blog theme (Delicious Magazine) and CSS changes had been working well for over 6 months.

    Blog: http://notesfromafrica.wordpress.com

    Thanks for your help!

    Lisa.
    Blog url: http://notesfromafrica.wordpress.com/

  2. The only problem I can see is that the Custom Fonts set in Fonts tab may be overwriting the fonts rules in your custom css (because the selectors might not be specific enough).

    Did you recently enable custom fonts for your site?
    Is it the fonts that reset usually, or something else?

    What's the most visible change in your blog between the default version and the custom css version?

  3. notesfromafrica
    Member

    Hi Yoavf,

    Thanks for responding to my query!

    The last changes I made to the CSS were last year (2011) in July. I hadn't used the custom fonts at all, but made the following changes to the CSS code - just using the "Add my CSS to the theme CSS" option:

    h1,h2,h3,h4,h5,h6 {
    color:#222;
    font:Georgia;
    font-weight:normal;
    margin:0;
    }

    .post .title {
    font:normal 21px Georgia;
    position:relative;
    line-height:32px;
    margin:0 0 15px;
    }

    a {
    text-decoration:underline;
    color:#800000;
    }

    a:hover {
    color:#5BB1C1;
    text-decoration:underline;
    }

    .entry,.entry p {
    font:16px/1.5em Georgia;
    }

    #comments .comment-entry p {
    font:16px Georgia;
    margin:0 0 10px;
    }

    .entry .wp-caption-text {
    font:16px Georgia;
    font-style:italic;
    text-align:center;
    margin:0;
    padding:0;
    }

    So it is a change to the fonts and link colours.

    What I'm seeing on my screen is the original CSS version which looks like this:

    http://farm8.staticflickr.com/7056/6916861895_120d155914_o.jpg

    What I should be seeing is the following:

    http://farm8.staticflickr.com/7064/6916861495_f0fe8d8964_o.jpg

    My Custom Design subscription was renewed in January 2012.

    Regards,
    Lisa.

  4. I've modified your css code to make sure the rules there take precedence over all over rules. It's a bit ugly, but it should work.

    If you site ever loads without your custom css again, can you please let us know?
    Thanks.

  5. notesfromafrica
    Member

    The coding changes you made still have not sorted out the problem. They've also changed what I intended the CSS changes to be.

    I tried to remove the additional CSS and just revert back to the original stylesheet. Then I tried to use the fonts available under Custom Design. Again, things looks fine if I preview the changes, but when I save the fonts and look at them on my site, it changes the serif fonts I had chosen to sans serif fonts.

    When I then view the original Style.css code (Custom Design -> CSS -> View the original stylesheet) for my theme, the code is scrambled/unformatted and seems incomplete. Is it possibly corrupted?

    Thanks for your patience . . .

    Lisa.

  6. notesfromafrica
    Member

    Hi again . . .

    I have now taken out all the CSS changes and managed to get the Custom Design fonts working. But as soon as I add any CSS e.g. changing the link colour, it reverts back to the original style sheet.

    Which makes me wonder again whether the original stylesheet has been corrupted.

    Lisa.

  7. The original stylesheet can't be corrupted since the core theme files are shared by all blogs.

    Since this is a premium theme, I recommend contacting the developer directly for help: http://premium-themes.forums.wordpress.com/forum/delicious-magazine

    For future reference, there will be a link for the specific Premium Theme support forum under Appearance -> Themes in your blog’s Dashboard, but the theme needs to be active and you need to be signed in as the user who purchased it in order to see it.

  8. notesfromafrica
    Member

    Thanks for the help and info and your patience! :-)

  9. You're welcome -- don't hesitate to contact us again if you need anymore help. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.