kunik1962 Member Sep 24, 2014 #1 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.
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.
Mike XenForo developer Staff member Sep 24, 2014 #2 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. Upvote 0 Downvote
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.
P Paul B XenForo moderator Staff member Sep 24, 2014 #3 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. Upvote 0 Downvote
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.
Dadparvar Well-known member Oct 16, 2015 #4 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? Thanks Upvote 0 Downvote
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? Thanks
D Dad. Well-known member Oct 16, 2015 #5 Dadparvar said: Isn't it possible to change it now? My forum is showing in this way: View attachment 119488 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? Thanks Click to expand... 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: Code: .featuredResourceList {height: 112px;} Which is essentially what the default theme does. It just sets a height and an overflow hidden. Upvote 0 Downvote
Dadparvar said: Isn't it possible to change it now? My forum is showing in this way: View attachment 119488 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? Thanks Click to expand... 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: Code: .featuredResourceList {height: 112px;} Which is essentially what the default theme does. It just sets a height and an overflow hidden.