Wordpress child theme loading two duplicate stylesheets

I'm writing a child theme as per the specifications in the codex for child themes. It seems to work, but when I debug it using Firebug or Chrome's developer toolbar, I see two stylesheets listed. According to the codex:

style.css is the one and only required file in a child theme. It provides the information header by which WordPress recognizes the child theme, and it replaces the style.css of the parent.

So I'm very confused why I'm seeing style.css #1 and style.css #2. Furthermore, the line numbers listed don't correlate to the file that I'm editing. So something fishy is going on. I'm working on leecamp.net and the theme is black-board-child (modifying black-board). Can anyone shed light on this?

According to Firebug, two stylesheets are being loaded from the same directory (/themes/black-board-child/). How could this be?

Answers


  1. Check if you have a cache plugin of some sort. Most of the time, they compress your file and make the line numbers you see in the Webdeveloper tools far lower than the real thing.

  2. Check your header.php. A copy of the CSS is linked in WP_head(), if you linked it again, that may be why you have 2 CSS files loaded.


Need Your Help

Truncating a string in python

python truncate

Someone gave me a syntax to truncate a string as follows:

Silverlight 3 Datatemplate: Firing a button_click event

silverlight silverlight-3.0 listbox datatemplate resourcedictionary

I have a datatemplate for a listbox stored in the ResourceDictionary. The template contains a button which when clicked should pass the listbox item to a seperate listbox

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.