• Resolved this-blog-sucks

    (@this-blog-sucks)


    Last night a strange thing happened… the text at the top of my sidebar changed to bold for no apparent reason. And at some point while I was sleeping (probably when the most recent post was made) the content text became bold too! wtf.

    It would be easy to assume that I changed the style sheet, but if you go and make a new post it won’t be in bold. I tried it.

    Here’s a little from my stylesheet:

    /* Content */
    #content {float:left; clear:left; text-align: left; width:600px; margin:0;}
    #content h2 {font-size:1.7em; clear:left;}
    #content h3 {font-size:1.3em; clear:left;}
    #content h2.archiveheader {margin:0 0 20px 0; padding:4px 0; border-bottom:3px solid #ddd;}
    #content h2 a, #content h3 a {font-weight:normal;}
    #content p {margin:0 0 15px;}
    #content div.postnav {padding:10px 0;}
    #content div.postnavleft {width:48%;}
    #content div.postnavright {width:48%; text-align:right;}
    #content ul, #content ol {margin:0 0 15px 30px; padding:0 0 0 10px;}
    #content ul li, #content ol li {margin:0 0 3px;}
    #content ul ul, #content ol ol {margin:5px 0 5px 15px;}
    #content img {margin:0; padding:0;}
    #content img.left {float:left; margin:0 10px 10px 0;}
    #content img.right {float:right; margin:0 0 10px 10px;}
    #content img.center {margin:2px auto 10px auto; display:block;}}
    #content img.framed {padding:5px; background:#222; border:1px solid #555;}
    #content .post {margin:0 0 15px;}
    #content .introtext {font-size:1.2em; margin:-10px 0 20px 0;}
    #content .timestamp strong{font-size:.8em; font-weight:400;}
    #content .timestamp a {font-weight:400;}
    #content .rating {font-size:.8em; font-weight:400;}
    #content .postmeta {padding:5px 0; font-size:1em; text-align:right; font-weight:400; color:#555; display:block; border-bottom:3px solid #ddd;}
    #content .postmeta a {}
    
    #content .postpagesnav {margin:15px 0 20px 0; padding:0; font-size:1.2em;}
    #content .postpagesnav .older {width:48%; float:left;}
    #content .postpagesnav .newer {width:48%; float:right; text-align:right;}

    and

    /* Float fix */
    .contenttext {overflow:hidden;}
    * html .contenttext {height:1px; overflow:visible;}
    * html .contenttext p {overflow:hidden; width:99%;}

    And this is from index.php:

    <div class="post">
    <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <p class="timestamp"><strong><?php the_time('D n/j/y @ g:i a') ?> | <?php the_category(', '); ?> | By: <?php the_author(); ?><?php edit_post_link('[e]',' | ',''); ?></strong>
    <p class="rating"><?php if(function_exists('the_ratings')) { the_ratings(); } ?></p>
    
    <div class="contenttext">
    <?php the_content('<p>Read more &raquo;</p>'); ?>
    </div>

    And this is interesting… the content text on single.php is NOT bold and the code looks the same as index.php. Here is a piece of single.php:

    <h2><?php the_title(); ?></h2>
    <p class="timestamp"><strong><?php the_time('D n/j/y @ g:i a') ?> | <?php the_category(', ') ?> | By: <?php the_author(); ?><?php edit_post_link('[e]',' | ',''); ?></strong>
    <p class="rating"><?php if(function_exists('the_ratings')) { the_ratings(); } ?>
    
    <div class="contenttext">
    <?php the_content('Read more &raquo;
    '); ?>
    </div>

    Any idea what’s going on???? Thank you

    Michael
    http://www.blogexperiment.org/

  • The topic ‘Text mysteriously changed to bold and I don’t know why’ is closed to new replies.