I have a option in my Wordpress theme options panel that I made to choose from five different styles. Running Wordpress on localhost if I choose yellow, red, green, blue or black the style is applied correctly and everything works fine. The code I'm using in header.php
is this:
<link rel="stylesheet" type="text/css" media="screen"
href="<?php bloginfo('template_directory'); ?>/css/<?php echo get_option('of_cssstyles'); ?>.css" />
But when I install the same theme on the web I get a webpage with absolutly no CSS style, you can see it here: (http://macoverflow.org/p3dra/), as you can see no CSS style is beeing applied.
How to fix this?
The stylesheet you are linking to doesn't exist. You need to upload it to the server or link to somewhere it is uploaded.
edit: going to: http://macoverflow.org/p3dra/wp-content/themes/blankfolio/css/ shows that the stylesheet is actually called "yellow.css", but the page you are linking to is "Yellow.css" note the case of the "y".