FANDOM


  • So, I used the information from this thread, but I'm wondering if there is a way to add more columns. I'm wanting to have 3 columns for a list. If I tweak and rename the code, will it still work or do I have to find a different code to use?

      Loading editor
    • Just trying to bump this. I would like to know the answer though.

        Loading editor
    • It would help if you showed the code you plan to use... making helpers run around looking for info you could directly provide makes them less likely to help... and make you have to bump threads.

        Loading editor
    • Well, it would be similar to the to the two-column code.

      I'd go to Mediawiki:Wikia.css and add:

      .threeColumns {
      -moz-column-count:3;
      -webkit-column-count:3;
      column-count:3;
      }

      Then it would do this:

      <div class="threeColumns">
      *test1
      *test2
      *test3
      </div>

        Loading editor
    • Okay, that's what I thought... That should work, but as I remember most MediaWiki wikis have a bug where the first item in the first column might have some unnecessary space at the top. Try it out... maybe the bug was fixed.

        Loading editor
    • Okay. Just wanted to check to see if it would work before I added it. I didn't want to add something that was useless.

        Loading editor
    • The bug is still there, but it's not noticable unless you are looking for it or have OCD. Other than that, it's working just like I wanted. The list I had worked fine with two columns and I may have to go back to that later on, but just knowing I can now use three columns if I wanted is a big help.

        Loading editor
    • Ahh too bad the bug is still there, but if it doesn't bother you that much, then I guess that's okay.

        Loading editor
    • I just didn't want have a huge, long list involved with one of the pages that required a great deal of scrolling. However, I may go back to the two-column list on the page, but as I said, just having the ability to use the three columns is great. Thanks for helping.

        Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Community content is available under CC-BY-SA unless otherwise noted.