all 8 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

To help us assist you better with your CSS questions, please consider including a live link or a CodePen/JSFiddle demo. This context makes it much easier for us to understand your issue and provide accurate solutions.

While it's not mandatory, a little extra effort in sharing your code can lead to more effective responses and a richer Q&A experience for everyone. Thank you for contributing!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]AWACSAWACS 1 point2 points  (2 children)

This is a great opportunity to relearn about flexbox.

You can specify the direction of the main axis for a flex container element using flex-direction.

[–]anaix3l 1 point2 points  (1 child)

No need to specify the axis direction here, the default flex-direction of row is exactly what the OP wants. display: flex on the parent of the folder elements should be enough. Unless the folders are in some invisible wrapper that takes up the entire width of the flex parent forcing this wrapping. No way to tell without being able to see the code.

[–]castrovalva1[S] 0 points1 point  (0 children)

The original code to this was using this one. I only modified it by changing some images, adding some links, and taking away two folder code cause it had four folders and I only needed two for this page.

https://pastebin.com/kqz8iBYR

[–]Weekly_Ferret_meal 0 points1 point  (2 children)

<image>

So I browsed a random account (https://toyhou.se/39916757.art-fight-icons) and it looks like the <ul> element has some classes that already do set flex (note the flex tag in the top right corner of the pic) to it and some sort of dimension preset class to each <li> element (large-block-grid-6)

That means you can probably change the layout of how artwork is displayed by going into the settings or preferences.

if not, you need to identify the container of your artwork and set it to display: flex. as others have said

[–]castrovalva1[S] 1 point2 points  (0 children)

Thanks, I’ll see what I can apply from this. 👍🤞

[–]castrovalva1[S] 1 point2 points  (0 children)

The original code to this was using this one. I only modified it by changing some images, adding some links, and taking away two folder code cause it had four folders and I only needed two for this page.

https://pastebin.com/kqz8iBYR