This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

Yogesh

  • ***
  • 27 posts
latest listings gallery at home looks scattered
« on: June 06, 2017, 11:49:20 AM »
Hello there,
I am facing that issue from months. when there are some spam ads(or marked as spam) in our ad list, the latest listing gallery at home page looks scattered. after deleting those spam listings it looks normal. but it is not possible to do that all the day, because some spam ads are filtered out every hour there. image is attached....
thanx....

« Last Edit: June 06, 2017, 11:52:14 AM by Yogesh »

*

MB Themes

Re: latest listings gallery at home looks scattered
« Reply #1 on: June 06, 2017, 05:17:55 PM »
If you changed default image size, you need to do it for placeholder image as well (no image).
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Yogesh

  • ***
  • 27 posts
Re: latest listings gallery at home looks scattered
« Reply #2 on: June 09, 2017, 10:46:32 PM »
Hello frosticek,
actually i have disabled the price fields in some categories, because of that the block in some ads change their size...

I think to solve that there should be something (like a _ ) if osc item category price is disabled... it will cover the price field and the block size for all gallery ads will remain same....

in loop-single.php
Code: [Select]
      <?php if( osc_price_enabled_at_items() && osc_item_category_price_enabled() ) { ?>
        <div class="price"><span><?php echo osc_item_formated_price(); ?></span></div>
      <?php ?>
if we set the above condition here, I think that could be solved...

actually i don't know how to code that...

Thanx

Marked as best answer by frosticek on June 12, 2017, 08:30:58 AM
*

MB Themes

Re: latest listings gallery at home looks scattered
« Reply #3 on: June 11, 2017, 09:18:27 PM »
@Yogesh
You can try:
Code: [Select]
      <?php if( osc_price_enabled_at_items() && osc_item_category_price_enabled() ) { ?>
        <div class="price"><span><?php echo osc_item_formated_price(); ?></span></div>
      <?php } else { ?>
        <div class="price"><span>&nbsp;</span></div>
      <?php ?>

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Yogesh

  • ***
  • 27 posts
Re: latest listings gallery at home looks scattered
« Reply #4 on: June 11, 2017, 10:26:59 PM »
 :D :D :D :D :D Perfect..
Thanx frosticek :)