Why is my template selection page in Wordpress showing cryptic CSS

If you find a broken template selection page, like the one shown here, on your WordPress blog

Wordpress template selection page error

- don’t be worried. Last day while I was editing this blogs template I came across such a page. It didn’t take me long to figure out what was wrong. But until I found the reason I actually was a little worried. May be because I am new to WordPress.

So what does the above page mean. for this just look at the code shown. It is just the CSS from your current theme. So the error is caused by the style.css file in your theme directory. The CSS file must have a normal formatted structure as shown.

CSS file normally formatted

If the formatting and the new line characters are missing in the file after an edit the WordPress template page may look like the above.

What you can do is always edit the CSS file with ditors like NotePad++ or Microsoft FrontPage. It is better not to use NotPa. If you are on Linux you can use GEdit a wonderful inbuilt editor with highlighting and support for many languages and Scripts.

Buy me a cup of hot coffee - help me keep posting all through the night

If you are new here you may want to subscribe to this blogs full feed RSSSubscribe to full feed RSS of this blog
so that you will get the updates automatically to your feed reader.

Tags: ,

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

RSS feed | Trackback URI

Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post



My Google  Netvibes  My Yahoo!  Windows Live  Bloglines  Newsgator