Respostas no Fórum

Visualizando 1 resposta (de um total de 1)
  • Criador do tópico Pablo Rocha

    (@pablo-rocha)

    Obrigado luhciano. Dei uma olhada no css e não encontrei nada poderia está fazendo isso. Vou postar o código da página que mostra a imagem destacada.

    <?php
    /**
     * The default template for displaying post content.
     *
     * @package WordPress
     * @subpackage Blogger WPExplorer Theme
     * @since Blogger 1.0
     */
    
    /**
    	Entries
    **/
    
    if ( is_singular() && is_main_query() ) { ?>
    
    	<?php if ( has_post_thumbnail() && get_theme_mod( 'wpex_blog_post_thumb', '1' ) == '1' ) { ?>
    		<div class="post-thumbnail">
    			<img src="<?php echo wpex_get_featured_img_url(); ?>" alt="<?php echo esc_attr( the_title_attribute( 'echo=0' ) ); ?>" />
    		</div><!-- .post-thumbnail -->
    	<?php } ?>
    
    <?php }
    
    /**
    	Posts
    **/
    else { ?>
    
    	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    		<?php
    		// Display post thumbnail
    		if ( has_post_thumbnail() && get_theme_mod( 'wpex_blog_entry_thumb', '1' ) == '1' ) { ?>
    			<div class="loop-entry-thumbnail">
    				<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( the_title_attribute( 'echo=0' ) ); ?>">
    					<img src="<?php echo wpex_get_featured_img_url(); ?>" alt="<?php echo esc_attr( the_title_attribute( 'echo=0' ) ); ?>" />
    				</a>
    			</div><!-- .post-entry-thumbnail -->
    		<?php } ?>
    		<div class="loop-entry-text clr">
    			<header>
    				<h2 class="loop-entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( the_title_attribute( 'echo=0' ) ); ?>"><?php the_title(); ?></a></h2>
    				<?php
    				// Display post meta details
    				wpex_post_meta() ;?>
    			</header>
    			<div class="loop-entry-content entry clr">
    				<?php if ( get_theme_mod( 'wpex_entry_content_excerpt','excerpt' ) == 'content' ) {
    					the_content();
    				} else {
    					$wpex_readmore = get_theme_mod('wpex_blog_readmore','1') == '1' ? true : false;
    					wpex_excerpt( 93, $wpex_readmore );
    				} ?>
    			</div><!-- .loop-entry-content -->
    		</div><!-- .loop-entry-text -->
    	</article><!-- .loop-entry -->
    
    <?php } ?>

    Se eu copiar o código que está dentro Display post thumbnail e colocar abaixo do h2 do header, a iamgem fica abaixo do título, já é um começo. Mas estou tentando agora fazer como colocar ela pra ficar a esquerda, com o texto do artigo na frente. Se poder me ajudar, agradeço.

Visualizando 1 resposta (de um total de 1)