Support » Plugin: Spiffy Calendar » Struggling with ‘num_columns’

  • Resolved Karima

    (@creamms)


    Hi.

    I’m trying to use the num_columns argument with [spiffy-upcoming-list] but it doesn’t want to play ball.

    I’m using [spiffy-upcoming-list num_columns=”4″ cat_list=”1″]

    The cat_list works great but no column argument.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Spiffy Plugins

    (@spiffyplugins)

    Looks like your quotes around the 4 don’t match properly.

    Thread Starter Karima

    (@creamms)

    I think that is just the page font.

    Tried retyping it to be sure and no luck. I also tried –

    [spiffy-upcoming-list num_columns=’4′ cat_list=’1′]
    [spiffy-upcoming-list num_columns=4 cat_list=1]

    Each time the cat_list works but not the columns.

    Plugin Author Spiffy Plugins

    (@spiffyplugins)

    Sorry, I just realized you are not using style=’Columns’. The num_columns argument only applies in this style. I have updated the documentation to be more clear.

    Thread Starter Karima

    (@creamms)

    Ah! Darn. Would be super nice to have in future if it’s easily done 🙂

    Cheers for the help

    Plugin Author Spiffy Plugins

    (@spiffyplugins)

    You could try playing around with flex display custom CSS to get your columns:

    ul.spiffy.upcoming-events-list {
    display: flex;
    flex-wrap: wrap;
    }

    ul.spiffy.upcoming-events-list li {
    display: inline-block;
    margin: 10px 0 0 2%;
    flex-grow: 1;
    }

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.