Okay
  Public Ticket #3507937
Portfolio Home Page
Closed

Comments

  • billwelsh started the conversation

    I have created 6 portfolio categories and selected 3 columns as the option. However it displays them:

    Top row: 3

    Second row: 2

    Bottom row:1

    Would like to have 2 columns of 3, but can't find where the issue is. I added a 7th to see what would happen and it did 3,2,2.

  • Actionadmin replied

    could I please get some help on this?

  •  295
    Paul replied

    Hello!

    Please try applying this custom CSS to fix the issue:

    .portfolio-listing {
        display: flex;
        flex-wrap: wrap;
    }
    .col3 .portfolio-item, 
    .portfolio-category {
        float: none;
    }
    

    I hope it helps!

    Regards,
    Paul

  • welshiv replied

    That worked - thank you!

    Any insight as to why that was necessary? Thanks again

  •  295
    Paul replied

    Happy to hear that!smile.png

    The issue was simply a CSS bug related to the 'float' property used in the theme. Switching to a flexbox layout resolved it.