Osclass Support Forums

Osclass theme support => Free themes => Elena Osclass Responsive Theme => Topic started by: arsupply on January 16, 2017, 09:11:22 PM

Title: Help in Elena Themes
Post by: arsupply on January 16, 2017, 09:11:22 PM
can u please help me setting up things in Elena Themes

1. how to show Items as Gallery instead of List in "Latest Listing" and "Search Result"

2. how to modify borderline on "image categories" in home page

3. in Add New Listing Page i can not choose Categories since i deleted all Sub-Categories... pls see image from this link            http://imgur.com/a/nZHdj
Title: Re: Help in Elena Themes
Post by: MB Themes on January 17, 2017, 08:25:44 AM
@arsupply
1) theme does not offer option to do it on homepage, on search page you have section "Change view" where you can toggle between list/grid.

2) Look on style.css in theme folder, i.e.:
Code: [Select]
.home #main .categories .category
3) What categories you want to see, if you had remove them?
Title: Re: Help in Elena Themes
Post by: arsupply on January 17, 2017, 03:16:02 PM
thank you for your reply

1. on search page how to show GRID as default instead of LIST view..

2. i have found it..  :)

3. for example in "Computer" listing i want Computer as main category itself no sub-category...
Title: Re: Help in Elena Themes
Post by: MB Themes on January 17, 2017, 08:38:50 PM
@arsupply
1) you need to modify search.php and change condtions
3) All depends on structure of your categories in your osclass installation
Title: Re: Help in Elena Themes
Post by: arsupply on January 19, 2017, 06:55:45 PM
it would be most helpful if you can tell me where is that condition to modify  in search.php
Title: Re: Help in Elena Themes
Post by: MB Themes on January 23, 2017, 05:56:05 PM
@arsupply
Changing:
Code: [Select]
<?php $old_show Params::getParam('sShowAs') == '' 'list' Params::getParam('sShowAs'); ?>

Into:
Code: [Select]
<?php $old_show Params::getParam('sShowAs') == '' 'grid' Params::getParam('sShowAs'); ?>

should do the trick
Title: Re: Help in Elena Themes
Post by: arsupply on January 24, 2017, 07:43:25 PM
code does'nt  do anything instead found:
Code: [Select]
<?php require(osc_search_show_as() == 'list' 'search_list.php' 'search_gallery.php'); ?>
and change list to grid
Code: [Select]
<?php require(osc_search_show_as() == 'grid' 'search_list.php' 'search_gallery.php'); ?>
work!!!