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.

Read More

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?

Related posts

Leave a Reply

1 comment

    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.