Product filter display

  • Posts: 180
  • Thank you received: 13
11 years 4 months ago #111746

When displaying more than one filter above one another, the height calculations can in some cases where no products are found, display with the names of the lower filters overlapping the above.

The file views->product->filter.php should be amended. Lines:

if(!empty($filters[$count]->filter_height)){
        $height='height:'.$filters[$count]->filter_height.'px;';
      }else if(!empty($this->heightConfig)){
        $height='height:'.$this->heightConfig.'px;';
      }
should be
if(!empty($filters[$count]->filter_height)){
        $height='min-height:'.$filters[$count]->filter_height.'px;';
      }else if(!empty($this->heightConfig)){
        $height='min-height:'.$this->heightConfig.'px;';
      }

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 4 months ago #111753

Hi there,

Indeed, we just tested it and it seems to be a nice modification.
Thanks for your feedback :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum