Question:
Greetings fellow Wix, I hope all is well
I have a repeater on a larger breakpoint/screen that shows ‘4’ items. On a smaller breakpoint I want this same repeater to only display 3 items because of spacing. It does not seem like there is an easy way to do this thought I feel like the fix should be easy. Am I just missing something?
Product:
[Wix Studio Editor.]
What are you trying to achieve:
[My request is very simply IMO. I have a repeater that displays 4 items on larger screen, but on smaller breakpoints, I want to use the same repeater/dataset but only display ‘3’ items]
What have you already tried:
[Read several Wix articles; tried AI assistance which provided a solution but it’s not the most efficient and not easily scalable.]
Additional information: Screens
[This is my repeater on my larger breakpoint that shows ‘4’ items on bottom of the screen]
[This is my dataset setting which loads 4 items per load]
[Just want to show 3 items on the smaller breakpoint. Trying to show 4 makes everything too small for the user to see without thick glasses. ]
Truly appreciate any help or insight anyone can bring
Looking Forward
SkreenGG
For a solution with no-code, you could duplicate the element and set one to only show on mobile? Not sure if this is the most elegant workaround solution, but less involved than coding it.
1 Like
Greetings @amandam
I hope that all is well
Thank you soo much for the hasty and informative reply. After much research I think I am going to have to take your advice. The only thing that really bites is there is A LOT of code that goes into how my repeater works so I’m going to have to replicate more code to work specifically with the duplicate repeater <sigh…cries inside>. I feel like it should be a very easy thing for Wix to limit items based on breakpoints considering the whole selling point of wix-studio is the responsiveness. I’ll be sure to request this feature.
Nonetheless, thank you so much for your reply. If no one else respond in the next 3 days I’ll mark your post as the solution.
Thanks again
Looking Forward
SkreenGG
You won’t have to write duplicate code - you can reuse your code if you structure it so that it can be connected to either repeater.
As far as having something native, if there is nothing you can request a feature in the product roadmap (i know that doesnt help now, but for the future) Product Roadmap
1 Like