Support Forums - Classified Ads Script Osclass

Osclass theme support => Free themes => Patricia Osclass Responsive Theme => Topic started by: ysalim on June 30, 2016, 10:22:25 AM

Title: sub category to expand by default
Post by: ysalim on June 30, 2016, 10:22:25 AM
Hi,

Could you help me to make the sub category to expand by default unless user click "less" and if possible remember the settings user preference.

Thanks
Title: Re: sub category to expand by default
Post by: MB Themes on June 30, 2016, 10:29:05 AM
@ysalim
Sure, what you already have?
Title: Re: sub category to expand by default
Post by: ysalim on June 30, 2016, 04:23:51 PM
what I have is exactly what it looks like the demo site patricia.mb-themes.com

in my case I have a lots of sub categories and I would like it to be expanded by default instead.

I hope that make sense
Title: Re: sub category to expand by default
Post by: MB Themes on June 30, 2016, 05:43:51 PM
@ysalim
In file:
oc-content/themes/patricia/search.php

Find:
Code: [Select]
<?php if($i <= 4) { ?>
Replace with:
Code: [Select]
<?php if($i <= 200) { ?>