• Luggruff

    (@luggruff)


    Hi there!

    I am using the http://wordpress.org/extend/themes/yboris theme for WP and if you check out my site http://www.luggruff.com/feed you’ll see a lot of RED font..

    all this red font is caused by this little snippet in the .css-file:
    font.subname{
    color: #FF0000;
    text-align: center;
    }
    (it used to be color #4444444, but I want #FFFFFF as #444444 is too dark)

    I want ALL the titles in the right and the left side of my page to respond to:
    #nav li h2 {
    color: #FFF;
    font-weight: normal;
    font-size: 18px;
    list-style-type: none;
    margin: 0;
    padding-left: 3px;
    text-transform: lowercase;
    }

    As of now, only my “Languages” and “Blogroll” respond to this.. (note: tag cloud does not as the only one on the right side of the page)

    ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
    Difference between the titles in the code (php) today:
    ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
    ————————————————
    Stuff that responds to ‘#nav li h2 {‘ in the css:
    ————————————————
    <!– LANGUAGE SWITCHER –>

    • <h2><?php _e(‘Language’);?></h2>
      <?php if(function_exists(‘langswitch_list_langs’)){
      langswitch_list_langs(false, true, ‘li’);
      }?>

    ..and..

    <!– YOUR LINKS –>
    <?php get_links_list(); ?>

    ————————————————
    Stuff that responds to ‘font.subname’ in the css:
    ————————————————
    <!– TAG CLOUD –>
    <li id=”categories”><?php _e(‘tag cloud’); ?>

      <?php wp_tag_cloud(‘smallest=6&largest=12’); ?>

    ..and..

    <!– LIST THE PAGES –>

    <li id=”categories”><?php _e(‘pages’); ?>

      <?php wp_list_pages(‘title_li= ‘); ?>

    ..and..

    <div class=”storycontent”>

    <?php the_content(__(‘(more…)’)); ?>

    </div><!– end STORYCONTENT –>
    ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
    ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

    Please help! This theme should be, and I’m quoting for yboris.com (author of theme): “It is easily customized to different colors.”.

Viewing 1 replies (of 1 total)
  • esmi

    (@esmi)

    In your CSS, delete:

    font.subname{
    color: #FF0000;
    text-align: center;
    }

    and then add font.subname to the class you want to replicate – ie:

    #nav li h2,font.subname {
    color: #FFF;
    font-weight: normal;
    font-size: 18px;
    list-style-type: none;
    margin: 0;
    padding-left: 3px;
    text-transform: lowercase;
    }

    Having said that, font shouldn’t be used in an XHTML theme. It’s a deprecated element. if you want to do this properly, consider replacing all references to <font></font> with <span></span> in all of the theme’s template files and stylesheets.

Viewing 1 replies (of 1 total)
  • The topic ‘font.subname defined in css, help!’ is closed to new replies.