Support Forums - Classified Ads Script Osclass
Osclass theme support => Free themes => Topic started by: immobilier on July 23, 2020, 05:59:22 PM
-
Hello, I have one issue in item page, when there many pictures in a listing, the description of the listing appears only after the the list of pictures not in the right place. How i can make the text appears after the displayed image, not the list of images?
To clarify this here is a screenshot of the problem
(https://aws1.discourse-cdn.com/free1/uploads/osclass/optimized/1X/c7e2fd827b5cee0106b1b62380f78b09e2628ed4_2_413x500.png)
Website: algeriahome (https://www.algeriahome.com/a-louer/maison-appartement-a-louer/vente-appartement-f4-bejaia-cite-pepiniere_i16022)
-
@immobilier
Try to add this code to your style.css
.item-photos .col-lg-2 { max-height: 432px; overflow: auto; }
-
@immobilier
Try to add this code to your style.css
.item-photos .col-lg-2 { max-height: 432px; overflow: auto; }
Hello, Can you please tell me where i can put exactly this code?
-
Theme style
-
Theme style
Hello, the probelm could not be fixed,
here is a part my item.php file if that can help
<?php if( osc_images_enabled_at_items() ) { ?>
<div class="item-photos">
<div class="row">
<?php
if( osc_count_item_resources() > 0 ) {
$i = 0;
?>
<div class="col-lg-10"> <a href="<?php echo osc_resource_url(); ?>" class="main-photo" title="<?php echo osc_esc_html(__('Image', OSCLASSWIZARDS_THEME_FOLDER)); ?> <?php echo $i+1;?> / <?php echo osc_count_item_resources();?>"> <img class="img-responsive" src="<?php echo osc_resource_url(); ?>" alt="<?php echo osc_item_title(); ?>" title="<?php echo osc_item_title(); ?>" /> </a></div>
<div class="col-lg-2">
<div class="thumbs">
<?php for ( $i = 0; osc_has_item_resources(); $i++ ) { ?>
<div class="thumbs-image">
<a href="<?php echo osc_resource_url(); ?>" class="fancybox" data-fancybox-group="group" title="<?php echo osc_esc_html(__('Image', OSCLASSWIZARDS_THEME_FOLDER)); ?> <?php echo $i+1;?> / <?php echo osc_count_item_resources();?>"> <img src="<?php echo osc_resource_thumbnail_url(); ?>" width="75" alt="<?php echo osc_item_title(); ?>" title="<?php echo osc_item_title(); ?>" class="img-responsive"/> </a>
</div>
<?php } ?>
</div>
</div>
<?php } else{?>
<div class="col-lg-10"> <a href="<?php echo osc_current_web_theme_url('images/no_photo.gif'); ?>" class="main-photo" title="<?php echo osc_esc_html(__('Image', OSCLASSWIZARDS_THEME_FOLDER)); ?> 1 / 1"> <img class="img-responsive" src="<?php echo osc_current_web_theme_url('images/no_photo.gif'); ?>" alt="<?php echo osc_item_title(); ?>" title="<?php echo osc_item_title(); ?>" /> </a></div>
<div class="col-lg-2">
<div class="thumbs"> <a href="<?php echo osc_current_web_theme_url('images/no_photo.gif'); ?>" class="fancybox" data-fancybox-group="group" title="<?php echo osc_esc_html(__('Image', OSCLASSWIZARDS_THEME_FOLDER)); ?> 1 / 1"> <img src="<?php echo osc_current_web_theme_url('images/no_photo.gif'); ?>" width="75" alt="<?php echo osc_item_title(); ?>" title="<?php echo osc_item_title(); ?>" class="img-responsive"/> </a> </div>
</div>
<?php } ?>
</div>
</div>
<?php } ?>
<div id="description">
<p><?php echo osc_item_description(); ?></p>
<div id="custom_fields">
<?php if( osc_count_item_meta() >= 1 ) { ?>
<br />
<div class="meta_list">
<?php while ( osc_has_item_meta() ) { ?>
<?php if(osc_item_meta_value()!='') { ?>
<div class="meta"> <strong><?php echo osc_item_meta_name(); ?>:</strong> <?php echo osc_item_meta_value(); ?> </div>
<?php } ?>
<?php } ?>
</div>
<?php } ?>
</div>
<?php osc_run_hook('item_detail', osc_item() ); ?>
<ul class="contact_button">
<li>
<?php if( !osc_item_is_expired () ) { ?>
<?php if( !( ( osc_logged_user_id() == osc_item_user_id() ) && osc_logged_user_id() != 0 ) ) { ?>
<?php if(osc_reg_user_can_contact() && osc_is_web_user_logged_in() || !osc_reg_user_can_contact() ) { ?>
<a href="#contact">
<?php _e('Contact seller', OSCLASSWIZARDS_THEME_FOLDER); ?>
</a>
<?php } ?>
<?php } ?>
<?php } ?>
</li>
<li><a href="<?php echo osc_item_send_friend_url(); ?>" rel="nofollow">
<?php _e('Share', OSCLASSWIZARDS_THEME_FOLDER); ?>
</a></li>
<?php if(function_exists('watchlist')) {?>
<li>
<?php watchlist(); ?>
</li>
<?php } ?>
<li><a class="see_all" href="<?php echo osc_user_public_profile_url( osc_item_user_id() ); ?>">
<?php _e('See all ads from this advertiser', OSCLASSWIZARDS_THEME_FOLDER); ?>
</a> </li>
</ul>
<?php osc_run_hook('location'); ?>
</div>
<?php if(function_exists('osc_telephone_number')){ osc_telephone_number();} ?>
</div>
<div class="block_list">
-
@immobilier
Solution has been provided, if you have no clue what CSS is, it does not make sense to ask for help rather than look for developer.