Okay
  Public Ticket #2350872
portfolio - more columns
Closed

Comments

  • bahoe started the conversation

    Hi!

    Is it possible to make more coulumns on the portfolio items (I can choose only 1,2,3,4)?

    bahoe

  •  675
    Neuron replied

    Hi Bahoe,

    Unfortunately, these are the only settings for the portfolio items, if you want to make further changes, please add the following style in Appearance > Customize > Additional CSS.

    This is for example for 5 columns

    .single-portfolio .masonry .selector {
        flex: 0 0 20% !important;     max-width: 20% !important;
    }

    6 Columns

    .single-portfolio .masonry .selector {    
        flex: 0 0 16.6666% !important;
        max-width: 16.6666% !important;
    }

    You can use the developer tab and grab its unique class only for that portfolio item. https://prnt.sc/ru0vtk

    .postid-3419 .single-portfolio .masonry .selector {    
        flex: 0 0 16.6666% !important;
        max-width: 16.6666% !important;
    }

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • bahoe replied

    Hi Neuron!

    Thanky ou very much!

    It works fine, great.

    But one question more: could you give me the code for 8 columns too?

    ;-)

    bahoe

  •  675
    Neuron replied

    Hi Bahoe,

    You are welcome anytime, I hope you're safe from this pandemic. 

    If you want to know how it calculates, simply divide the 100 with 8.

    100/8 = 12.5

    .single-portfolio .masonry .selector {
        flex: 0 0 12.5% !important;
        max-width: 12.5% !important;
    }

    Feel free to ask for anything you need.

    Kind Regtards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.