Query frontend rendering placeholder

Hi, I’m relatively new to cwicly and don’t know if it’s just me who doesn’t quite understand it, or if it’s a bug in cwicly. I’m trying to make a query loop with filters. It actually works very well. My problem is that I don’t really feel that the placeholder loader works very well. As you can see from my attached pictures, I have 2 items in my loop where I would like the placeholder/skeleton to match the content. Is there an easy way to do it or is it not possible in cwicly?

Sincerely, Flemming Meyer


Hey there, and welcome to the forum.

It’s a bit hard to help you out here without knowing the specifics.

Maybe this advice can help you in some way:

1 Like

You can also customise the colour of the placeholder skeleton as detailed in this thread:

clear

665 / 5.000

Oversættelsesresultater

Oversættelsen

Hi Marius and thanks for the feedback. What information are you missing? Shouldn’t they be the same no matter what you loop through. What I want is for the placeholder/skeleton to match my items that I have in my query forloop, so that I don’t get any jumps on the page when I load new data. Currently I just get a lot of lines in a straight line which I can change in the global css/.cc-loading-skeleto and which I can give a height and width to. However, this is not particularly useful as height and width are often dynamic. In addition, there are far more lines/placeholders than I have of items in my foreloop. Am I overlooking something here? as I feel that there is something here that does not make sense.Processing: Screenshot 2024-07-24 at 14.46.37.png…




Thanks for providing more details on this @Fmeyer.

Could you please try to set the position to grid on your Query Template block and report back if that fixes your issue?

Tried giving a display of grid, that didn’t change anything. But found that it helps to remove tailwind on the template query and then use the native grid with columns. So there is a error when it comes to using it with tailwind. However, I still have my challenges with adapting it with my content itself, and that i get far more placeholder/skeletins than I have of items in my query. I think that it must be a error and that there may just be a number of bugs that need to be resolved before cwicly is ready after their pause of development on cwicly.

@Fmeyer Could you provide a screenshot of your grid configuration in Cwicly?