CSS Editor Changes Themes?

  • Unknown's avatar

    Hi, I just upgraded to use the CSS Editor, so I could tweak font colors etc. But now the them e that I had selected has lost just about all of its formatting. I tried switching to other themes and they are all screwed up too. If I just preview the theme it looks fine, if I “activate” it, it goes screwy. I havent touched the CSS!!

    Has this happened to anyone else? Any ideas what is going on? Or how I can contact Support?

    Thanks!

  • Unknown's avatar

    FYI, this is the site I am trying to work on
    http://marygrady.wordpress.com/
    and the theme I chose is the Rubric theme, which has mysteriously lost much of its formatting and design elements.

  • Unknown's avatar

    go to the css editor, remove all the css there and then save it. it should restore to the default css of whatever theme you have chosen.

  • Unknown's avatar

    I have the same problem and that didn’t resolve it.

  • Unknown's avatar

    What is your blog URL? The site linked to your name is not a WordPress.com-hosted blog, so we won’t be able to help you with that one.

  • Unknown's avatar

    same issue here….sure deleting the entire css sheet brings it back….but we paid for the css edit upgrade….and want to edit the css, we just dont want it to kill the styling of the original theme…this is extremely frustrating. Cant anyone give us a straight answer here??? I’m using the andreas04 theme….if i edit anything at all, or even cut and paste the identical style sheet, then all the bkgrnd colors disappear….c’mon guys whats tbe deal???
    bb

  • Unknown's avatar

    In order for the CSS to work with the original CSS, you need “full URL” to images. That means including your blog URL to the image. It is the same URL as the stylesheet in most cases. CSS is not something that is supported off the cuff and not by staff, but there are quite a few users who can help guide you through.

    In your example of andreas04, the images would have to have the following included in the URL prior to “every” image.

    https://s-ssl.wordpress.com/wp-content/themes/pub/andreas04/

    It is the joy of upgrading the CSS as you have to make the modifications that you didn’t before :)

    Trent

  • Unknown's avatar

    I’m having this problem too. What’s all this about images? That just makes no sense at all, not everyone is techy, can you not explain in plain English why even using the original CSS sends the formattin crappy?

  • Unknown's avatar

    First off, when doing custom CSS, only put into the edit window, the parts you change, not the entire CSS file, and make sure the “add to existing style sheet” is selected otherwise it will cause problems because you end up sending the same information to the browser twice. Once from the original CSS file and once from your upgrade file.

    The underlying files for each theme are shared by everyone blogging here at wordpress.com. When you buy the CSS upgrade, and modify your CSS, you are not modifying the original CSS file, you are creating an auxiliary CSS file with your changes. If you were allowed to modify the original CSS file, your changes would effect everyone using that theme. What happens is your CSS changes are put into a separate file in a different directory away from the original CSS file.

    The original CSS, in most cases, uses “relative” URL’s for image files and such that it will call to style your blog. A relative URL might look like this:/images/header.jpg which means that the header image is in a subdirectory called images inside the directory where the CSS file is. Since your CSS modification file is in a totally different directory than the original CSS file, the relative URL’s are going to be incorrect. Therefore, you have to change the relative URL’s that are called in your CSS changes to full URL’s otherwise the system, won’t be able to find them.

    Again, do not put the entire original CSS file into the edit window and then make a few changes to it and save it or your blog will blow up. Include in your CSS, only the individual things you are changing.

  • Unknown's avatar

    Addendum: If you are not changing one of the original “files” that are called using a relative URL in the original CSS, don’t include it in your custom CSS.</stong> Include only the individual things you are changing.

  • Unknown's avatar

    Closing the strong tag.

  • Unknown's avatar

    I’ve not had a problem before when editing the CSS. I just pasted the stylesheet given into the box and changed the things I needed to…. why does this no longer work?

  • The topic ‘CSS Editor Changes Themes?’ is closed to new replies.