Sub Categories Widget
[resolved] Way to loop arross page? (4 posts)

  1. babray
    Posted 4 years ago #

    Hi! First, thanks for the perfect plugin! I'm transitioning from another system and needed just this thing. I was wondering if there is a way to get multiple columns across the page? If not, I can live with it!

    Thanks again!


  2. BC
    Plugin Author

    Posted 4 years ago #

    You can do with with CSS (works only with modern browsers). Add this to the end of your theme style.css

    .widget_sub_categories {
    	-webkit-column-count: 3;
    	-moz-column-count: 3;
    	-o-column-count: 3;
    	column-count: 3;

    It will give you 3 equal sized columns. However it does depend on how your widget areas are set up because these tend to define the space that each widget is allowed into and they usually have a limited width so the columns may not be wide enough for this to work well. It depends entirely on your themes design. Not all browsers support this so in those that don't it'll be a single column as before.

    There's no other easy way to do this (apart from splitting the sub-categories into two or more parents and using a widget for each of them).

  3. babray
    Posted 4 years ago #

    Thanks for the quick reply and I'll give it a shot!!! It looks like the perfect solution as I have it on the home page of a BP install! That should do exactly what I want. I'll let you know when it is done. Appreciate the assist!

  4. BC
    Plugin Author

    Posted 4 years ago #

    Since I haven't heard back I assume that this issue is now resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Sub Categories Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic