WordPress.org

Ready to get started?Download WordPress

Forums

Stylesheet not working (2 posts)

  1. cfeint
    Member
    Posted 2 weeks ago #

    My stylesheet is not working. The stylesheet is `/*
    Theme Name: Fox
    Theme URI: http://wordpress.org/themes/firstshot
    Author: Catherine Feint
    Author URI:www.catherinefeint.com
    Description: Portfolio theme for Catherine Feint
    Tags:
    Text Domain: fox
    Use it to make something cool, have fun, and share what you've learned with others.
    */
    {
    #headerimg {
    background: #90a090;
    border-bottom: double 3px #aba;
    border-left: solid 1px #9a9;
    border-right: solid 1px #565;
    border-top: solid 1px #9a9;
    font: italic normal 230% 'Times New Roman', Times, serif;
    letter-spacing: 0.2em;
    margin: 0;
    padding: 15px 10px 15px 60px;
    }
    #navmenu ul {margin: 0; padding: 0;
    list-style-type: none; list-style-image: none; }

    #navmenu ul {margin: 0; padding: 0;
    list-style-type: none; list-style-image: none; }
    #navmenu li {display: inline; }

    #navmenu ul {margin: 0; padding: 0;
    list-style-type: none; list-style-image: none; }
    #navmenu li {display: inline; padding: 5px 20px 5px 20px}
    #navmenu a {text-decoration:none; color: blue; }
    #navmenu a:hover {color: purple; }
    #navmenu ul {margin: 0; padding: 0;
    list-style-type: none; list-style-image: none; }
    #navmenu li {display: inline; }
    #navmenu ul li a {text-decoration:none; margin: 4px;
    padding: 5px 20px 5px 20px; color: blue;
    background: pink;}
    #navmenu ul li a:hover {color: purple;
    background: yellow; }

    and the header.php code is
    <?php
    ?><!doctype html>

    <div id="headerimg">
    <h1>
    <a href="<?php echo get_option('home'); ?>">
    <?php bloginfo('name'); ?></a>
    </h1>
    <div class="description">
    <?php bloginfo('description'); ?>
    </div>
    </div>
    </div>

    <div id="navmenu">
    <ul>
    <li><a href="<?php echo get_settings('home'); ?>">HOME</a></li>
    <?php wp_list_categories('orderby=name&include=1,3,4,5'); ?>
    <li><a href="http://www.wordpress.org">WORDPRESS</a></li>
    </ul>
    </div>`

  2. ellp
    Member
    Posted 2 weeks ago #

    Hello!

    There is no css link on your PHP file... Please read this page:

    http://codex.wordpress.org/Theme_Development

    Hope it helps.

Reply

You must log in to post.

About this Topic