Images Clumped Together on Property Page

Easy Property Listings WordPress Real Estate Plugin Forums Basic Support Images Clumped Together on Property Page

Viewing 4 posts - 1 through 4 (of 4 total)

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • #7763
    Rick5150
    Spectator

    I was using the Responsive Mobile theme and I have 10 images for one of my properties. They display fine on the other themes – all the same size and evenly spaced, but on the Responsive Mobile theme they are all jumbled together and are different heights, rather than the square thumbnails the other themes give. Where can I look to fix this? I am using a different theme now because of it.

    #7775
    Merv Barrett
    Keymaster

    Hi Rick,

    here is a demo of the Responsive Mobile theme and gallery images. First the theme requires some setup by adding single-listing.php and archive-listing.php

    The gallery is controlled by the theme CSS.

    #7776
    Rick5150
    Spectator

    I had done that already and also added what I did on another thread to see if it could help others with the same problem.

    Are all the images in the demo the same size? The problem occurs when they are not. Most themes correct this and make thumbnails like 150 x 150 or similar. And of course, the lack of space between the rows looks bad as well.

    Here is the single-listing.php code. Maybe I screwed something up?

    <?php
    /**
     * Single Post Template
     *
     * Displays single posts
     *
     * @package      responsive_mobile
     * @license      license.txt
     * @copyright    2014 CyberChimps Inc
     * @since        0.0.1
     *
     * Please do not edit this file. This file is part of the responsive_mobile Framework and all modifications
     * should be made in a child theme.
     */
    
    // If this file is called directly, abort.
    if ( ! defined( 'WPINC' ) ) {
    	die;
    }
    
    get_header(); ?>
    
    	<div id="content" class="content-area">
    			<main id="main" class="site-main" role="main">
    
    				<?php get_template_part( 'template-parts/loop-header' ); ?>
    
    				<?php while ( have_posts() ) : the_post(); ?>
    
    					<?php if ( function_exists('epl_property_single') ) {
        epl_property_single();
    } ?>
    
    					<?php responsive_mobile_post_nav(); ?>
    
    					<?php responsive_mobile_comments_before(); ?>
    					<?php
    						// If comments are open or we have at least one comment, load up the comment template
    						if ( comments_open() || '0' != get_comments_number() ) :
    							comments_template( '', true );
    						endif;
    					?>
    					<?php responsive_mobile_comments_after(); ?>
    
    				<?php endwhile; // end of the loop. ?>
    
    			</main><!-- #main -->
    
    			<?php get_sidebar(); ?>
    	</div><!-- #content -->
    <?php get_footer(); ?>
    #7876
    Merv Barrett
    Keymaster

    This should be working correctly now with the theme setup

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Basic Support’ is closed to new topics and replies.