CSS Editor modifies code more than promised?

  • Author
  • #456463


    I’ve been working away on hosting a small company blog at WordPress.com and purchases the Custom CSS Upgrade to integrate some of our design elements.

    Unfortunately, it seems as if the Stylesheet Editor modifies the inserted CSS quite heavily — at least more than what it is supposed to do. Specifically, as I have no access to seperate stylesheets for IE, I have to resort to using inline hacks (think star (*) and underscore hack (_)). However, both characters seem to be removed on submitting the revised stylesheet resulting in the property being parsed by all browsers — not what I was looking for.

    On top of that the editor also seems to make too much sense of things it doesn’t yet know about. For example, using cross-browser CSS3 gradients results (see code example below) in just a messy and invalid ‘background-image’ property.

    background-image: -moz-linear-gradient(top, #ffe9ad, #fabb52);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ffe9ad), to(#fabb52));

    Now, I can live without the fancy gradients, but when (sometimes) necessary IE hacks are removed I don’t really have a lot of use for using WordPress.com’s services. It looks like I’ll need to install WordPress on our own web server, which is a shame as that would leave us without some of the prime advantages (I’d say: managed/secure, speed and uptime not dependant on our own services) of using a hosted solution.

    But before I do that I thought I’d come here and ask around. I fear there’s no solution to the problem right now, but hopefully there will be at some time in the future?

    Note: the blog I am working on is not linked to this account and currently in private mode. I can provide more code examples if required (though shouldn’t need to).



    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

The topic ‘CSS Editor modifies code more than promised?’ is closed to new replies.