<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Solved it i was putting n functions.php<br><br><div><hr id="stopSpelling">Date: Sat, 5 Oct 2013 10:56:29 +0530<br>From: abhik@itsabhik.com<br>To: theme-reviewers@lists.wordpress.org<br>Subject: Re: [theme-reviewers] wp_enqueue_style<br><br><div dir="ltr"><div class="ecxgmail_default" style="font-family:verdana,sans-serif;">Make sure you have wp_head() in place.<br></div></div><div class="ecxgmail_extra"><br><br><div class="ecxgmail_quote">On Sat, Oct 5, 2013 at 9:53 AM, Phillip Wells <span dir="ltr"><<a href="mailto:phillipwells@hotmail.co.nz" target="_blank">phillipwells@hotmail.co.nz</a>></span> wrote:<br>
<blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">Woops i missed a comma but it still doesn't work though<div><br></div><div><div class="ecxim"><div>function theme_name_styles() {</div><div><span style="white-space:pre-wrap;"> </span>wp_enqueue_style( 'style-name',get_template_directory_uri() . '/css/dropdown.css' );</div>
<div>}</div><div><br></div><div>add_action( 'wp_enqueue_scripts', 'theme_name_styles' );</div><br></div><div><hr>From: <a href="mailto:phillipwells@hotmail.co.nz" target="_blank">phillipwells@hotmail.co.nz</a><br>
To: <a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>Date: Sat, 5 Oct 2013 17:22:02 +1300<br>Subject: [theme-reviewers] wp_enqueue_style<div><div class="h5"><br>
<br>
<div dir="ltr">I am currently developing a theme and i have: <div><br></div><div>function theme_name_styles() {<div><span style="white-space:pre-wrap;"> </span>wp_enqueue_style( 'style-name',<span style="background-color:rgb(243,243,247);font-family:Consolas,Monaco,'Courier New',Courier,monospace;font-size:12px;line-height:1.3em;white-space:pre-wrap;">get_template_directory_uri()</span><span style="background-color:rgb(243,243,247);font-family:Consolas,Monaco,'Courier New',Courier,monospace;font-size:12px;line-height:1.3em;white-space:pre-wrap;"> . '/css/dropdown.css</span><span style="font-size:12pt;"> );</span></div>
<div>}</div><div><br></div><div>add_action( 'wp_enqueue_scripts', 'theme_name_styles' );</div></div><div><br></div><div>but it is not working what am i doing wrong.</div><div><br></div><div><br></div> </div>
<br></div></div>_______________________________________________
theme-reviewers mailing list
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a></div></div> </div></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________
theme-reviewers mailing list
theme-reviewers@lists.wordpress.org
http://lists.wordpress.org/mailman/listinfo/theme-reviewers</div> </div></body>
</html>