News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Boards in columns

Started by Sir Osis of Liver, June 22, 2022, 09:43:24 PM

Previous topic - Next topic

Sir Osis of Liver

Has anyone done a 2.0 mod that lists boards in category in 2-3 columns, as does Tidy Child Board mod with child boards?
When in Emor, do as the Snamors.
                              - D. Lister

Diego Andrés

You can get a basic layout started with this:

.boardindex_table .up_contain {
  flex-basis: 50%;
  flex-grow: 1;
}
.boardindex_table .main_container > div:not(.cat_bar, .desc) {
  display: flex;
  flex-wrap: wrap;
}

SMF Tricks - Free & Premium Responsive Themes for SMF.

Sir Osis of Liver

Was able to do it with TCB mod (not a standard forum setup).  Will try your code when I get a chance, thanks.
When in Emor, do as the Snamors.
                              - D. Lister

Arantor

Quote from: Sir Osis of Liver on June 23, 2022, 04:59:49 PMWas able to do it with TCB mod (not a standard forum setup).


TCB never supported what you were asking for so whatever you did to make it work, it was all you.
Holder of controversial views, all of which my own.


Sir Osis of Liver

This is the ebook-mecca forum, it's basically an ebook depository, not a forum, so I'm removing a lot of forum features and making it more of a website.  Most of the child boards were in empty parent boards in same category, so I created new categories, each with new parent board, moved the children into the appropriate parent, then hid the parents, so now just the children are displayed in columns in each category.  It cleaned up the board index and simplified navigation. 

Have you updated TCB for 2.1?
When in Emor, do as the Snamors.
                              - D. Lister

Arantor

No, I haven't. Someone else will have to if anyone wants it - I'm only planning on finishing up the LevGal and Stripe packages and that's it.
Holder of controversial views, all of which my own.


Sir Osis of Liver

I suppose you've noticed how awful the language sub-boards look here.
When in Emor, do as the Snamors.
                              - D. Lister

Arantor

It would help if there weren't duplicates that are actually redirects to each other in the list.
Holder of controversial views, all of which my own.


Antechinus

I've posted CSS for sorting that out several times. Not my fault if nobody can be bothered using it.

Steve

Quote from: Arantor on June 23, 2022, 07:19:25 PMIt would help if there weren't duplicates that are actually redirects to each other in the list.
I'll look at that later and bring it to Lex's attention.
My pet rock is not feeling well. I think it's stoned.

Sir Osis of Liver

Quote from: Antechinus on June 24, 2022, 02:57:25 AMI've posted CSS for sorting that out several times. Not my fault if nobody can be bothered using it.

Not a question of being bothered, more a matter of not being able to find it.

Anyway, the TCB workaround did what we wanted.  If you look at attached, those are child boards under category header, parent is empty and hidden.  Children link to message index, which is list of book titles, which link to topics, one for each book.  You can see it here.  There will be no members other than two admins, guests can browse forum and use search.  Still work to do but it's going where we want it.

When in Emor, do as the Snamors.
                              - D. Lister

Advertisement: