Support » Themes and Templates » Problem with Chrome and OS X 10.7 Safari
Problem with Chrome and OS X 10.7 Safari
-
Our site, http://www.parecon.fi, seems to have serious problems with layout with at least Chrome and IE8. Theme used is TheCorporation from Elegant Themes.
The layout has “jumped” to wrong places, images below. The url for the first example is http://parecon.fi and the next two images are from http://parecon.fi/arvot The problem is apparent in the sidebar on all of our pages, as well as in the text layout overall and also the bottom part of the homepage.
First how they look like in Chrome, Firefox:
http://dl.dropbox.com/u/35153/wrong1.png
http://dl.dropbox.com/u/35153/wrong2.png
http://dl.dropbox.com/u/35153/wrong3.png
And how they should look, accordingly:
-
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/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 } ?>
- The topic ‘Problem with Chrome and OS X 10.7 Safari’ is closed to new replies.