WordPress.org

Support

Support » Themes and Templates » Stylesheet not being loaded

Stylesheet not being loaded

  • MichaelWallis
    Member

    @michaelwallis

    Hi guys.

    I am having some trouble getting my stylesheet to load when creating themes. I have included the

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” >

    into the header of the theme and my stylesheet is named “style.css” but it simply does not load the styles? Not sure what I am missing here.

    Thanks!

Viewing 1 replies (of 1 total)
  • Try the following:

    <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="all" />
Viewing 1 replies (of 1 total)
  • The topic ‘Stylesheet not being loaded’ is closed to new replies.