• I have been following the wpdesigner.com tutorial to create my very first theme. However, I am having a major issue! My style.css file is doing nothing to my index.php file! I cannot figure out for the life of me what the problem is!

    I have examined the code and it seems as though somehow this is is showing up for the style sheet:

    <link media="screen" type="text/css" href="Blogs" rel="stylesheet">

    It appears the title is in place of the URL. Even though I have this in my code:

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

    Why on earth is this happening?

    Any help is appreciated!

    Thank you!

Viewing 1 replies (of 1 total)
  • thats not right.

    look at the codex page for that tag.

    https://codex.www.ads-software.com/Template_Tags/bloginfo

    The following work in WordPress version 1.5 or after:

    * ‘html_type’ – “Content-type” for your blog.
    * ‘wpurl’ – URL for WordPress installation.
    * ‘template_url’ – URL for template in use.
    * ‘template_directory’ – URL for template’s directory.
    * ‘stylesheet_url’ – URL for primary CSS file. Returns: http//example.com/wp-content/themes/ + your-active-theme-name(value from wp_options, “stylesheet” row) + “/style.css”(hardcoded in wp-includes/theme.php)

Viewing 1 replies (of 1 total)
  • The topic ‘CSS File not working!’ is closed to new replies.