Scusate, non sono solita porre domande nei forum, ma ho effettuato tante ricerche e letto tanto, provato e riprovato ma non sono riuscita a risolvere il mio problema.
Ho progettato un template Wordpress e, mentre con IE8 e Firefox la visualizzazione è ottima, IE7 mi da problemi con i commenti. In pratica lo sfondo del div "entry" cioè quello che racchiude i contenuti, mi va a coprire i commenti.
Ho provato a disabilitare tutti i plugin ma nulla, dev'essere un problema di CSS.
Questo è il contenuto HTML della pagine single.php (in index e dove non ci sono commenti non riscontro problemi)
e questo quello dei commenti:codice:<div id="content"> <ul id="menu">[*]Home <?php wp_list_pages( 'depth=1&title_li='); ?>[/list] <?php if (have_posts()) : ?><?php while (have_posts()) : ?><?php the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="title_ground"><h2 class="storytitle">"><?php the_title(); ?></h2></div> <div class="entry"> <div class="meta"><span class="tags"><?php _e('Categorie:'); ?> <?php the_category(', ') ?></span> <span class="user"><?php _e('Postato da'); ?></span><span class="author"> <?php the_author(); ?></span> il <?php the_time('j F Y') ?> alle <?php the_time() ?> <?php edit_post_link('Edit', ' | ', ''); ?> </div> <?php the_content('Continua »'); ?> <?php wp_related_posts(); ?> <?php comments_template(); // Get wp-comments.php template ?> </div> <div class="bottom"> <div class="feedback"> <?php wp_link_pages(); ?> <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?></p> </div> </div> </div> <?php endwhile; ?> <div class="navigation"> <div class="prev alignright"><?php adjacent_post_link('%link', '<span>Precedente</span>', false, '', true); ?></div> <div class="next alignleft"><?php adjacent_post_link('%link', '<span>Successivo</span>', false, '', false); ?></div> </div> <?php else : ?> <?php endif; ?> </div> <?php get_sidebar(); ?> <div class="endline"></div> <?php get_footer(); ?>
ecc... ecc...codice:<?php if ($comments) : ?> <h2 id="comments">Avete lasciato <?php comments_number('zero commenti', 'un commento', '% commenti' );?> a questo articolo:</h2>
- <?php foreach ($comments as $comment) : ?> <?php $comment_type = get_comment_type(); ?> <?php if($comment_type == 'comment') { ?> <li <?php echo $oddcomment; ?> id="comment-<?php comment_ID() ?>"> <cite><?php if(function_exists("MyAvatars")) MyAvatars(); ?><?php comment_author_link() ?></cite> says: <?php if ($comment->comment_approved == '0') : ?> Your comment is awaiting moderation. <?php endif; ?> <small class="commentmetadata"><?php comment_date('') ?> alle <?php comment_time() ?> <?php if (function_exists('quote_comment')) { quote_comment(); } ?> <?php if (function_exists('respond_comment')) { respond_comment(); } ?> <?php edit_comment_link('Edit','| ',' |'); ?></small> <div class="commentbody"> <?php comment_text() ?> </div> <?php /* Changes every other comment to a different class */ $oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : ''; ?> <?php } /* End of is_comment statement */ ?> <?php endforeach; /* end for each comment */ ?>
Il file css è a questo indirizzo http://www.dren.it/wp-content/themes/TechdreN/style.css e il blog a questo http://www.dren.it/
Se qualcuno avesse delle idee per porre fine a questo fastidioso inconveniente sarei immensamente grata.
Ancora grazie e ciao!

Rispondi quotando