Soporte » Diseño – Temas y plantillas » Imagen principal debajo del titulo

  • Hola,

    soy bastante nuevo en wordpress y he creado un tema child a partir del tema Twenty Twelve; por ahora he hecho las cosas que he querido, pero hay algo que no encuentro cómo hacer, y es colocar la imagen destacada del post debajo del título, ya que hasta ahora se me muestra encima…

    Alguna ayuda?

    Gracias y un saludo

Viendo 2 respuestas - de la 1 a la 2 (de un total de 2)
  • Cristobal

    (@cristobal-paez)

    un link para ver tu problema sería de ayuda

    En el fichero content.php, cambia:

    <header class="entry-header">
    			<?php the_post_thumbnail(); ?>
    			<?php if ( is_single() ) : ?>
    			<h1 class="entry-title"><?php the_title(); ?></h1>
    			<?php else : ?>
    			<h1 class="entry-title">
    				<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
    			</h1>
    			<?php endif; // is_single() ?>

    Por:

    <header class="entry-header">
    			<?php if ( is_single() ) : ?>
    			<h1 class="entry-title"><?php the_title(); ?></h1>
    			<?php else : ?>
    			<h1 class="entry-title">
    				<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
    			</h1>
    			<?php endif; // is_single() ?>
    <?php the_post_thumbnail(); ?>
Viendo 2 respuestas - de la 1 a la 2 (de un total de 2)
  • El debate ‘Imagen principal debajo del titulo’ está cerrado a nuevas respuestas.