Fix: Child theme picking incorrect style.css

HomeForumsTechozoicFix: Child theme picking incorrect style.css

This topic has 2 voices, contains 1 reply, and was last updated by  Jeremy Clark 162 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
Author Posts
November 5, 2011 at 6:24 pm #1760

asmaloney

Techozoic Fluid 1.9.4

I created a child theme and minified the css in the child theme, but it wasn’t choosing the correct style.css file:

<link rel="stylesheet" type="text/css" media="screen" href="http://asmaloney.com/wp-content/themes/techozoic-fluid/style.css&quot; />

Looking at header.php, the problem is line 76:

<link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_template_directory_uri(); ?>/style.css" />

Changing it to the following corrects the problem:

<link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_stylesheet_uri(); ?>" />

Thanks for the cool theme Jeremy!

- Andy

December 7, 2011 at 4:24 am #1761

Jeremy Clark

Yes this was a problem with the theme and has been fixed in the next version.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.