WordPress.org

Forums

[resolved] CSS problem (7 posts)

  1. Usayd
    Member
    Posted 10 years ago #

    Hey
    Everything was working fine but i seem to have done somthing that has made most of the fonts on the main page become small, including the sidebar.
    I dont think i edited anything much (though i may have changed some CSS), and also i did use the Adhesive plugin but i disabled it and still have the same problem.
    My Index:

    <?php get_header(); ?>
    <?php
    require("imageRotator.inc.php");
    $rot=new ImageRotator("images");

    /*
    OR
    $rot=new ImageRotator;
    $rot->setDirectory("images");
    */
    ///Functiuon ImageRotator::getRandomImage() will get the image file name randomly.
    ?>

    <div id="content" class="narrowcolumn">

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class="post">
    <h2 id="post-<?php the_ID(); ?>">" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h2>
    <small><?php the_time('F jS, Y') ?> by <?php the_author() ?>, <?php the_author_description(); ?> </small>

    <div class="entry">
    <?php the_content('Read the rest of this entry �'); ?>
    </div>

    <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit','','|'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>

    <!--
    <?php trackback_rdf(); ?>
    -->
    </div>

    <?php endwhile; ?>

    <div class="navigation">
    <div class="alignleft"><?php posts_nav_link('','','� Previous Entries') ?></div>
    <div class="alignright"><?php posts_nav_link('','Next Entries �','') ?></div>
    </div>

    <?php else : ?>

    <h2 class="center">Not Found</h2>
    <p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?>
    <?php include (TEMPLATEPATH . "/searchform.php"); ?>

    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    My Sidebar:<br />

    <div id="sidebar">

    </div>
    `

    My CSS:
    http://yse-uk.com/wordpress/wp-content/themes/usayd-network-news/style.css

    Please help if you can?

    Thanks
    Usayd
    http://www.usayd.com

  2. Cyndy Otty
    Member
    Posted 10 years ago #

    Oiy, please don't post such huge snippets of code - you could have saved those as .txt or .phps files! :)

    Anyway in your CSS your body is setting your font to this:
    font-size: 62.5%; /* Resets 1em to 10px */
    Set that higher, and your fonts should get bigger again.

  3. eridan
    Member
    Posted 10 years ago #

    #sidebar {
    font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
    }

    #sidebar h2 {
    font-family: 'Lucida Grande', Verdana, Sans-Serif;
    font-size: 1.2em;
    }
    Change the font-size, it will make the text bigger.

  4. eridan
    Member
    Posted 10 years ago #

    Oh, I though it was the sidebar only. Take ceo's advise, not mine.

  5. Usayd
    Member
    Posted 10 years ago #

    Thanks, but as i thought this does not solve the problem...
    I'm really quite confused, but it must be somthing i've installed... :\

  6. Usayd
    Member
    Posted 10 years ago #

    Anyone??

  7. Usayd
    Member
    Posted 9 years ago #

    I fixed this ages ago but I left the post as unresolved, I fixed it using X Valid plugin: http://jamietalbot.com/wp-hacks/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags