scordavo il codice css:
/*
**==========================================================================
** Post Format
**==========================================================================
*/
#post {
}
#post hr{
border: 1px solid orange;
margin-bottom:10px;
}
#post a:link {
color: blue;
text-decoration: none;
}
/* visited link */
#post a:visited {
color: green;
}
/* mouse over link */
#post a:hover {
color: red;
}
/* selected link */
#post a:active {
color: blue;
}
#post .post-title {
margin-top:10px;
float:left;
}
#post .post-title a:link
{
color:red;
}
#post .post-title a:visited
{
color:green;
}
#post .post-title a:hover
{
color:blue;
}
#post img {
max-width: 100%;
}
#post .meta
{
clear:both;
}
questo è il content.php
<div id="post">
<h1 class="post-title">
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
</h1>
<div class="meta">Postato il <?php echo get_the_date(); ?> in <?php the_category(', '); ?> da <?php the_author_posts_link(); ?></div>
<hr>
<div class="content">
<a href="<?php the_permalink(); ?>">
<?php the_post_thumbnail('image_thumb', array('class' => 'img-res','alt' => get_the_title())); ?>
</a>
<?php the_content(); ?>
</div>
</div>
avete idea? e scusate se ho messo un po di codice.
Ecco come dicevo .. me lo fa solo quando incontra la gallery e gallery tiled.
come mai?
ciao @lamorfini, questo forum tratta argomenti inerenti WordPress, la tua richiesta di informazioni è inerente css e le sue proprietà. @glorialchemica ti ha dato le info giuste affinchè tu possa risolvere il tuo problema.