1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RM 1.1 How do I limit the max featured resources per category?

Discussion in 'Resource Manager Support' started by kunik1962, Sep 24, 2014.

  1. kunik1962

    kunik1962 Member

    I have searched but cannot find the answer. How do I limit the max number of "featured resources" to a max of 2 above a resource category.

    For example (from XenFORO):

    For some reason my site tries to show a lot more and of course you can't see them though you do see part of a box for the next row.
  2. Mike

    Mike XenForo Developer Staff Member

    There is no option to limit them. If you're seeing the next row, that sounds like a style issue that needs to be tweaked.
  3. Brogan

    Brogan XenForo Moderator Staff Member

    The limit is hard coded to 6 in the PHP.

    The reason only two are showing is that's all that will fit in a single row due to the page width.
  4. Dadparvar

    Dadparvar Well-Known Member

    Isn't it possible to change it now?
    My forum is showing in this way:

    But I want to limit it to 3 or 6 but 3 in each row (now it shows 4 in top and 2 below them)
    How you limited it to 3?

  5. Mike Creuzer

    Mike Creuzer Well-Known Member

    Since it is hardcoded, one thing you could do is set a height. Such as in your theme there. In stock UI.X this code works:

    .featuredResourceList {height: 112px;}
    Which is essentially what the default theme does. It just sets a height and an overflow hidden.
    v2hao and Dadparvar like this.

Share This Page