SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast Cold Steel's Avatar
    Join Date
    Jul 2000
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with default .css in WordPress

    Can anyone tell me how to change the font of the entries in WordPress?

    The HTML says div class=storycontent, but the .css file shows no storycontent anywhere. Here is the .css file:

    HTML Code:
    /* Default WordPress by Dave Shea || http://mezzoblue.com
    Modifications by Matthew Mullenweg || http://photomatt.net
    This is just a basic layout, with only the bare minimum defined.
    Please tweak this and make it your own. :)
    */
    a {
    color: #675;
    }
    a img {
    border: none;
    }
    a:visited {
    color: #342;
    }
    a:hover {
    color: #9a8;
    }
    acronym, abbr {
    border-bottom: 1px dashed #333;
    }
    acronym, abbr, span.caps {
    cursor: help;
    font-size: 90%;
    letter-spacing: .07em;
    }
    blockquote {
    border-left: 5px solid #ccc;
    margin-left: 1.5em;
    padding-left: 5px;
    }
    body {
    background: #fff;
    border: solid 2px #565;
    border-bottom: solid 1px #565;
    border-top: solid 3px #565;
    color: #000;
    font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    margin: 0;
    padding: 0;
    }
    cite {
    font-size: 90%;
    font-style: normal;
    }
    h2 {
    border-bottom: 1px dotted #ccc;
    font: 95% "Times New Roman", Times, serif;
    letter-spacing: 0.2em;
    margin: 15px 0 2px 0;
    padding-bottom: 2px;
    }
    h3 {
    border-bottom: dotted 1px #eee;
    font-family: "Times New Roman", Times, serif;
    margin-top: 0;
    }
    ol#comments li p {
    font-size: 100%;
    }
    p, li, .feedback {
    font: 90%/175% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    letter-spacing: -1px;
    }
    /* classes used by the_meta() */
    ul.post-meta {
    list-style: none;
    }
    ul.post-meta span.post-meta-key {
    font-weight: bold;
    }
    .credit {
    background: #90a090;
    border-top: double 3px #aba;
    color: #fff;
    font-size: 11px;
    margin: 10px 0 0 0;
    padding: 3px;
    text-align: center;
    }
    .credit a:link, .credit a:hover {
    color: #fff;
    }
    .feedback {
    color: #ccc;
    text-align: right;
    clear: all;
    }
    .meta {
    font-size: .75em;
    }
    .meta li, ul.post-meta li {
    display: inline;
    }
    .meta ul {
    display: inline;
    list-style: none;
    margin: 0;
    padding: 0;
    }
    .meta, .meta a {
    color: #808080;
    font-weight: normal;
    letter-spacing: 0;
    }
    .storytitle {
    margin: 0;
    }
    .storytitle a {
    text-decoration: none;
    }
    #commentform #name, #commentform #email, #commentform #url, #commentform textarea {
    background: #fff;
    border: 1px solid #333;
    padding: .2em;
    }
    #commentform textarea {
    width: 100%;
    }
    #commentlist li ul {
    border-left: 1px solid #ddd;
    font-size: 110%;
    list-style-type: none;
    }
    #content {
    margin: 30px 13em 0 3em;
    padding-right: 60px;
    }
    #header {
    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;
    }
    #header a {
    color: #fff;
    text-decoration: none;
    }
    #header a:hover {
    text-decoration: underline;
    }
    #menu {
    background: #fff;
    border-left: 1px dotted #ccc;
    border-top: solid 3px #e0e6e0;
    padding: 20px 0 10px 30px;
    position: absolute;
    right: 2px;
    top: 0;
    width: 11em;
    }
    #menu form {
    margin: 0 0 0 13px;
    }
    #menu input#s {
    width: 80%;
    background: #eee;
    border: 1px solid #999;
    color: #000;
    }
    #menu ul {
    color: #ccc;
    font-weight: bold;
    list-style-type: none;
    margin: 0;
    padding-left: 3px;
    text-transform: lowercase;
    }
    #menu ul li {
    font: italic normal 110% 'Times New Roman', Times, serif;
    letter-spacing: 0.1em;
    margin-top: 10px;
    padding-bottom: 2px; /*border-bottom: dotted 1px #ccc;*/
    }
    #menu ul ul {
    font-variant: normal;
    font-weight: normal;
    line-height: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: left;
    }
    #menu ul ul li {
    border: 0;
    font: normal normal 70%/115% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    letter-spacing: 0;
    margin-top: 0;
    padding: 0;
    padding-left: 12px;
    }
    #menu ul ul li a {
    color: #000;
    text-decoration: none;
    }
    #menu ul ul li a:hover {
    border-bottom: 1px solid #809080;
    }
    #menu ul ul ul.children {
    font-size: 142%;
    padding-left: 4px;
    }
    #wp-calendar {
    border: 1px solid #ddd;
    empty-cells: show;
    font-size: 14px;
    margin: 0;
    width: 90%;
    }
    #wp-calendar #next a {
    padding-right: 10px;
    text-align: right;
    }
    #wp-calendar #prev a {
    padding-left: 10px;
    text-align: left;
    }
    #wp-calendar a {
    display: block;
    text-decoration: none;
    }
    #wp-calendar a:hover {
    background: #e0e6e0;
    color: #333;
    }
    #wp-calendar caption {
    color: #999;
    font-size: 16px;
    text-align: left;
    }
    #wp-calendar td {
    color: #ccc;
    font: normal 12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    letter-spacing: normal;
    padding: 2px 0;
    text-align: center;
    }
    #wp-calendar td.pad:hover {
    background: #fff;
    }
    #wp-calendar td:hover, #wp-calendar #today {
    background: #eee;
    color: #bbb;
    }
    #wp-calendar th {
    font-style: normal;
    text-transform: capitalize;
    }
    Thanks!

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Sorry I don't know anything about word press but as a shot in the dark have you tried adding your own style of div.storycontent to the css.

    Heres some links that might help.

    http://www.tamba2.org.uk/wordpress/g...ent/index.html
    http://blog.nuclearmoose.com/wp-docs...-explained.htm

    Paul

  3. #3
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    I believe that the font is set on the body tag in the default WP install. The storycontent class is there as a hook if you want to add your own styling to it rather than using what Matt and Dave gave you.

  4. #4
    SitePoint Enthusiast Cold Steel's Avatar
    Join Date
    Jul 2000
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you. Much appreciated.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •