Support » Theme: Olsen Light » Image and text arrangement

  • danielbeilfuss

    (@danielbeilfuss)


    Hi there,

    Is it possible to change the order of the articles so that the title and text are below the image? So, first the image of the article, then the category, then the title and then the text.

    Now from top to bottom: Category, Headline, Image, Text
    Desired from top to bottom: Image, Category, Heading, Text

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Fotis

    (@markwaregr)

    Hi there,
    you will need to open single.php and move

    				<?php if ( has_post_thumbnail() ) : ?>
    								<div class="entry-featured">
    									<a class="ci-lightbox" href="<?php echo esc_url( olsen_light_get_image_src( get_post_thumbnail_id(), 'large' ) ); ?>">
    										<?php the_post_thumbnail( 'post-thumbnail', array( 'itemprop' => 'image' ) ); ?>
    									</a>
    								</div>
    							<?php endif; ?>
    

    after

    	<article id="entry-<?php the_ID(); ?>" <?php post_class( 'entry' ); ?> itemscope="itemscope" itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
    

    If you decide to proceed with this modification I would suggest you create a child theme, copy over the files you are editing and make the modifications there. This will allow your changes to survive future theme updates. If you directly edit the theme’s files, all changes will be lost once you update.

    Have a look at this guide to learn more about child themes and how to create one http://www.cssigniter.com/ignite/beginners-guide-child-themes/

    Let me know if you need additional help with this.

Viewing 1 replies (of 1 total)
  • The topic ‘Image and text arrangement’ is closed to new replies.