WordPress.org

Support

Support » Themes and Templates » Problem with Chrome and OS X 10.7 Safari

Problem with Chrome and OS X 10.7 Safari

Viewing 3 replies - 1 through 3 (of 3 total)
  • The problem on the other page (and is repeated on all other pages) is somehow related to post width, as that seems to be the element that pushes the sidebar to the bottom of the page on Chrome. So the text is full width, when it should be 585px.

    Some examples where the text width goes all the way through the page, and pushes the sidebar all the way down:

    http://parecon.fi/arvot

    http://parecon.fi/julkaisut/leikkauspolitiikka-ei-ole-ratkaisu

    Thank you so much for any help!

    Give your container class a float:left; and it should work.

    Thank you very much, that sounds like something that should work. Should I input it somewhere in the page.php? I’ve included that below:

    <?php if (is_front_page()) { ?>
    <?php include(TEMPLATEPATH . ‘/home.php’); ?>
    <?php } else { ?>
    <?php get_header(); ?>
    <?php the_post(); ?>

    <div id=”content-area” class=”clearfix”>

    <div class=”post clearfix”>
    <?php $width = get_option(‘thecorporation_thumbnail_width_pages’);
    $height = get_option(‘thecorporation_thumbnail_height_pages’);
    $classtext = ‘thumbnail-post alignleft’;
    $titletext = get_the_title();

    $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext);
    $thumb = $thumbnail[“thumb”]; ?>

    <?php if($thumb <> ” && get_option(‘thecorporation_page_thumbnails’) == ‘on’) { ?>
    <?php print_thumbnail($thumb, $thumbnail[“use_timthumb”], $titletext , $width, $height, $classtext); ?>
    <?php }; ?>
    <?php the_content(); ?>
    <?php wp_link_pages(array(‘before’ => ‘<p>Pages: ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’)); ?>
    <?php edit_post_link(__(‘Edit this page’,’TheCorporation’)); ?>
    <div class=”clear”></div>
    </div> <!– end .post –>

    <?php if (get_option(‘thecorporation_show_pagescomments’) == ‘on’) comments_template(”, true); ?>

    </div> <!– end #content-area –>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
    <?php } ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with Chrome and OS X 10.7 Safari’ is closed to new replies.