WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Admin Panel, Themes, Displaying All CSS (8 posts)

  1. zedikia
    Member
    Posted 6 years ago #

    I am getting a strange display issue on a theme I am working on. its based on the default Kubrick theme.

    when viewing the theme in the admin/presentation/themes i see the screenshot, but instead of pulling the theme name, description, etc from the top of the style.css its displaying the entire contents of the css file.

    any ideas?

    Below is an example of what is happening.
    http://www.trappedinhell.com/wp-content/uploads/2007/11/themestrange.jpg

  2. moshu
    Member
    Posted 6 years ago #

    Editing on a Mac?
    Search for (wrong) "line breaks".

  3. zedikia
    Member
    Posted 6 years ago #

    Yes, on a mac.

  4. zedikia
    Member
    Posted 6 years ago #

    I didn't notice anything out of sorts with line breaks, etc.

  5. moshu
    Member
    Posted 6 years ago #

    Of coursen you didn't notice. That's why I said: SEARCH. But many Mac editors save the files with the "wrong" linebreak: MAC (CR) instead of UNIX (LF). My text editor (PSPad for Win) has the option to select the format.

    It might also be caused by BOM (byte order mark) which also "invisible".

  6. zedikia
    Member
    Posted 6 years ago #

    Text editor is TextWrangler Preferences set to Translate line breaks to Unix (LF)

  7. zedikia
    Member
    Posted 6 years ago #

    and unicode UTF-8 no BOM

  8. zedikia
    Member
    Posted 6 years ago #

    Fixed.

    Set to Unicode UTF-8, saved closed, changed back to UTF-8 no BOM saved.

    fixed.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags