Support » Themes and Templates » Whole css file appearing in title on apperance page

  • Resolved danielhockley


    Hi all,

    I’ve searched for an answer but can’t find anything.

    I have inherited a wordpress theme on arrival in my new job. For some reason text from the whole file is appearing where the title and description should be on the appearance page. The tags at the top of the style.css page all seem to be in order, see below.

    Theme Name: CognoBlue
    Theme URL:
    Description: Three column, Search Engine Optimized, Widget Ready, Adsense optimized,Adsense Friendly, Supporting tags & Gravatars, Lightweight WordPress v2.7 Compatible Professional WordPress Theme from BlogsDNA.
    Author: blogsdna
    Author URI:
    Version: 1.0
    The CSS, XHTML and Design is released under GPL:
    Tags: blue, widget ready, fixed width, three columns, 3 colums, widgets, adsense, seo, adsense ready, custom header, gravatar support, sidebar left, sidebar right, widget sidebar, seo adsense, XHTML, blue theme
    /* reset
    body,h1,h2,h3,h4,h5,h6,p,form,hr {margin:0;padding:0;}
    .low {display:none;}
    .clear {clear:both;}
    hr {
    border:1px solid #333333;
    /* body
    body {
    color:black; /*#333;*/
    padding:0 0;
    font-family: "times new roman",verdana, Arial, Helvetica, sans-serif;


    Any ideas? Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Can you be more specific about the problem.

    A link would be handy if possible..

    Hi t31os,

    Thanks for the quick reply. i can’t link to the site itself for security reasons. What extra information would be helpful?

    You say the text from the whole file is appearing…

    Now when you say this, do you mean the content of the whole stylesheet is being output to the browser?

    If the website is online, as in it’s a live site, then run it through the validation check…

    It’s likely an unclosed tag, or a minor mistake (missing character maybe) in the code… the validator can pick those kind of things up in most cases…

    Ah – it’s only on the appearance page in the admin panel.

    So in “Manage themes” where it says “Current Theme” it displays the thumbnail image of the theme and then displays the whole text from the file instead of it’s title. It then displays it again as the description!

    The theme displays correctly on the frontend.

    Second post i’ve seen recently with the same problem, i can’t tell you in honesty, though i’d imagine it’s something to do with the top lines in the stylesheet…

    Not had the problem myself, else i’d proberly be able to tell you what causes it….

    OK I think I’ve solved this issue.

    I had to convert the line endings on the file to UNIX line endings (LF) from Mac line endings. This was interfering with the parsing of the tags at the top of the file.

    thanks, this was happening to me too. I figured it had to be a text encoding issue but had no clue what it was. Hopefully they’ll figure out a way to make this a little more friendly – I’m assuming a good number of people editing these files on a Mac are running into this problem.

    It’s the resposability of the user to ensure they use a valid editor, how can WordPress anticipate what any given user will use to edit files with?…

    There’s 1000’s of different programs used for editting..

    This is not a WordPress problem.. so it shouldn’t be fixed and can’t be fixed by WordPress.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Whole css file appearing in title on apperance page’ is closed to new replies.