• Resolved Usayd

    (@usayd)


    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”>

    • <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
    • <!– Author information is disabled per default. Uncomment and fill in your details if you want to use it.

    • <h2><?php _e(‘Author’); ?></h2>
      A little something about you, the author. Nothing lengthy, just an overview.
    • –>

    • <?php /* If this is a category archive */ if (is_category()) { ?>
      You are currently browsing the archives for the <?php single_cat_title(”); ?> category.

      <?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
      You are currently browsing the “><?php echo bloginfo(‘name’); ?> weblog archives
      for the day <?php the_time(‘l, F jS, Y’); ?>.

      <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
      You are currently browsing the “><?php echo bloginfo(‘name’); ?> weblog archives
      for <?php the_time(‘F, Y’); ?>.

      <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
      You are currently browsing the “><?php echo bloginfo(‘name’); ?> weblog archives
      for the year <?php the_time(‘Y’); ?>.

      <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
      You have searched the “><?php echo bloginfo(‘name’); ?> weblog archives
      for ‘<?php echo wp_specialchars($s); ?>’. If you are unable to find anything in these search results, you can try one of these links.

      <?php /* If this is a monthly archive */ } elseif (isset($_GET[‘paged’]) && !empty($_GET[‘paged’])) { ?>
      You are currently browsing the “><?php echo bloginfo(‘name’); ?> weblog archives.

      <?php } ?>

    • <?php wp_list_pages(‘title_li=<h2>’ . __(‘Usayd Networks’) . ‘</h2>’ ); ?>

    • <h2><?php _e(‘Archives’); ?></h2>
      <?php wp_get_archives(‘type=monthly’); ?>
    • <h2><?php _e(‘Categories’); ?></h2>
      <?php list_cats(0, ”, ‘name’, ‘asc’, ”, 1, 0, 1, 1, 1, 1, 0,”,”,”,”,”) ?>

    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    <?php get_links_list(); ?>

    • <h2><?php _e(‘Meta’); ?></h2>
    • <h2><?php _e(‘Recommended’); ?></h2>
    • <h2><?php _e(‘Authors’); ?></h2>
      <?php wp_list_authors(‘optioncount=1&show_fullname=1&feed’); ?>
    • <h2><?php _e(‘Random’); ?></h2>
      Recent Posts
      <?php c2c_get_recent_posts(3); ?>

    <?php } ?>

    </div>
    `

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

    Please help if you can?

    Thanks
    Usayd
    https://www.usayd.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    #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.

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

    Thread Starter Usayd

    (@usayd)

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

    Thread Starter Usayd

    (@usayd)

    Anyone??

    Thread Starter Usayd

    (@usayd)

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘CSS problem’ is closed to new replies.