+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How to expand category listingbox

  1. #1

    How to expand category listingbox

    Hi all,
    I using the classified script with Nova premium template.

    On every page I have on the side, the listingbox.

    But, I have more than 15 categories, and standard you see 10 categories. Then you can click the little dots, but a lot of users do not understand

    So what I want is, a list of all (15) categories instead of 10 ( and 5 hidden, behind the dots)

    I have take a look in the categories.tpl, but you see no height, what you can adjust.
    There is some class I think what has the limit height: <div class="cat-tree-cont limit-height">

    Must I edit this class to have more height? And, where can I find the specific class?
    listingbox-height.JPG

    Mario

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello,

    Go to templates > your template > js > lib.js > this.categoryTree

    change:
    Code:
    Only registered members can view the code.
    to:
    Code:
    Only registered members can view the code.

  3. #3
    Great Rudi, its working well now, exactly what i wanted.

    Thanks
    Mario

  4. #4
    Also, the filter plug, if you have, allows you to pick the number of categories shown.

  5. #5
    And how to replace 3 dots with text? I think it will be better than the dots.
    For example "Show 3 more categories ..." and after expanding only 3 dots "..."
    Example in the attachment.
    NOW.png
    WILL.png

  6. #6
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Unfortunately, there is no quick solution

    it can be done as a customization

  7. #7
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    Quote Originally Posted by Rudi View Post
    Unfortunately, there is no quick solution

    it can be done as a customization
    Could we not just replace the dots with the words click to view more and not worry about actual numbers ? that would not require any custom work ?
    Getting Started or Starting Over with Your Classified Site? then Get Ready Set Fly V 4.7.1 > quietSecrets.net

  8. #8
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    For that, create a new phrase with a key like click_for_more for User Interface (Common > Languages)

    then go to templates > tpl > blocks > categories.tpl

    replace:
    Code:
    Only registered members can view the code.
    with:
    Code:
    Only registered members can view the code.

    then in css > style.css find a selector .cat-toggle

    and replace the code inside with:
    Code:
    Only registered members can view the code.

  9. #9
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    Thanks Rudi
    Getting Started or Starting Over with Your Classified Site? then Get Ready Set Fly V 4.7.1 > quietSecrets.net

  10. #10
    How to make it scrolling?

    When I expand the cars category it becomes a super long list, how to make it scrolling ?
    Classifieds Site: Annonssida
    Other Site: SEO

+ Reply to Thread