Bonjour,

Suite à une modification apportée à mon site, sous wordpress, sur le fichier infopanel.php, je me retrouve avec un décalage sur la partie gauche.
La partie "Partager" est complètement décalée. Voir ICI
Et ci-dessous le code du fichier.
Comment faire pour que la mise en page soit plus "propre" ?
J'ai tenté la balise <br /> et <p/>, mais cela ne marche pas, ou alors je ne l'ai pas mise au bon endroit.

Merci pour votre aide.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?php $thumb = '';
  $width = 186;
  $height = 186;
  $classtext = 'smallthumb';
  $titletext = get_the_title();
  $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext);
  $thumb = $thumbnail['thumb']; ?>
<?php if ( ( !is_page() && $thumb <> '' && get_option('thestyle_blog_thumbnails') == 'on' ) || ( is_page() && $thumb <> '' && get_option('thestyle_page_thumbnails') == 'on' ) ) { ?>
  <div class="single-thumb">
    <?php if ( !is_single() && !is_page() ) { ?>
      <a href="<?php the_permalink(); ?>">
    <?php } ?>
      <?php print_thumbnail($thumb, $thumbnail['use_timthumb'], $titletext, $width, $height); ?>
      <span class="overlay"></span>
      <?php if (!is_page()) { ?>
        <div class="category"><?php the_category(); ?></div>
        <span class="month"><?php the_time('M'); ?><span class="date"><?php the_time('d'); ?></span></span>
      <?php } ?>
    <?php if ( !is_single() && !is_page() ) { ?>
      </a>
    <?php } ?>
  </div> <!-- end .single-thumb -->
<?php } ?>
 
<div class="clear"></div>
 
<?php if ( !is_page() ) { ?>
  <h3 class="infotitle"><?php _e('Tags','TheStyle'); ?></h3>
  <div class="tags clearfix">
    <?php the_tags('<ul><li>','</li><li>','</li></ul>'); ?>
  </div>
 
  <h3 class="infotitle"><?php _e('Related Posts','TheStyle'); ?></h3>
  <?php global $post;
  $orig_post = $post;
 
  $tags = wp_get_post_tags($post->ID);
  if ($tags) {
    $tag_ids = array();
 
    foreach($tags as $individual_tag) $tag_ids[] = $individual_tag->term_id;
    $args=array(
      'tag__in' => $tag_ids,
      'post__not_in' => array($post->ID),
      'showposts'=>4,
      'caller_get_posts'=>1
    );
    $my_query = new wp_query( $args );
 
    if( $my_query->have_posts() ) { ?>
      <div class="related">
        <ul class="related-posts">
          <?php while( $my_query->have_posts() ) {
          $my_query->the_post(); ?>
            <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
          <?php } ?>
        </ul>
      </div>
    <?php }
  }
 
  $URL_fiche_auteur = get_post_meta($orig_post->ID, 'fiche_auteur', true);
  echo '<!-- Fiche auteur : '.$orig_post->ID.'/'.$URL_fiche_auteur.'-->';
  if ($URL_fiche_auteur) { ?>
    <a href="<?php echo $URL_fiche_auteur ?>" target="blank">
      <img src="http://www.livresque-du-noir.fr/wp-content/uploads/2010/10/Fiche-auteur.gif" alt="" title="Fiche auteur" width="100" height="58" class="alignleft size-full wp-image-93">
    </a>
  <?php }
 
$URL_fiche_auteur1 = get_post_meta($orig_post->ID, 'fiche_auteur1', true);
  echo '<!-- Fiche auteur1 : '.$orig_post->ID.'/'.$URL_fiche_auteur1.'-->';
  if ($URL_fiche_auteur1) { ?>
    <a href="<?php echo $URL_fiche_auteur1 ?>" target="blank">
      <img src="http://www.livresque-du-noir.fr/wp-content/uploads/2010/10/Fiche-auteur.gif" alt="" title="Fiche auteur" width="100" height="58" class="alignleft size-full wp-image-93">
    </a>
  <?php }
 
  $URL_chronique = get_post_meta($orig_post->ID, 'chronique', true);
  echo '<!-- Chronique : '.$orig_post->ID.'/'.$URL_chronique.'-->';
  if ($URL_chronique) { ?>
    <a href="<?php echo $URL_chronique ?>" target="blank">
      <img src="http://www.livresque-du-noir.fr/wp-content/uploads/2010/10/chronique.gif" alt="" title="Chronique" width="100" height="58" class="alignleft size-full wp-image-93">
    </a>
  <?php }
 
$URL_chronique1 = get_post_meta($orig_post->ID, 'chronique1', true);
  echo '<!-- Chronique1 : '.$orig_post->ID.'/'.$URL_chronique1.'-->';
  if ($URL_chronique1) { ?>
    <a href="<?php echo $URL_chronique1 ?>" target="blank">
      <img src="http://www.livresque-du-noir.fr/wp-content/uploads/2010/10/chronique.gif" alt="" title="Chronique" width="100" height="58" class="alignleft size-full wp-image-93">
    </a>
  <?php }
 
$URL_forum = get_post_meta($orig_post->ID, 'forum', true);
  echo '<!-- Forum : '.$orig_post->ID.'/'.$URL_forum.'-->';
  if ($URL_forum) { ?>
    <a href="<?php echo $URL_forum ?>" target="blank">
      <img src="http://www.livresque-du-noir.fr/wp-content/uploads/2010/10/Polarpourpre.gif" alt="" title="Forum" width="100" height="58" class="alignleft size-full wp-image-93">
    </a>
  <?php }
  wp_reset_query();
  $post = $orig_post; ?>
<?php } ?>
 
<h3 class="infotitle"><?php _e('Share This','TheStyle'); ?></h3>
<div class="share-panel">
  <?php $permalink = get_permalink(); ?>
  <a href="http://twitter.com/home?status=<?php the_title(); echo(' '); echo $permalink; ?>"><img src="<?php bloginfo('template_directory');?>/images/twitter.png" alt="" /></a>
  <a href="http://www.facebook.com/sharer.php?u=<?php echo esc_js($permalink); ?>&t=<?php the_title(); ?>" target="_blank"><img src="<?php bloginfo('template_directory');?>/images/facebook.png" alt="" /></a>
  <a href="http://del.icio.us/post?url=<?php the_permalink() ?>&amp;title=<?php the_title(); ?>" target="_blank"><img src="<?php bloginfo('template_directory');?>/images/delicious.png" alt="" /></a>
  <a href="http://www.digg.com/submit?phase=2&amp;url=<?php the_permalink() ?>&amp;title=<?php the_title(); ?>" target="_blank"><img src="<?php bloginfo('template_directory');?>/images/digg.png" alt="" /></a>
  <a href="http://www.reddit.com/submit?url=<?php the_permalink() ?>&amp;title=<?php the_title(); ?>" target="_blank"><img src="<?php bloginfo('template_directory');?>/images/reddit.png" alt="" /></a>
</div> <!-- end .share-panel -->