Okay
  Public Ticket #1279009
Portfolio Mobile in 2 columns
Closed

Comments

  •  1
    Carlos Lazarini started the conversation

    Hi,

    I need my portfolio items to show in 2 columns on mobile devices.

    I tried to find the solutions on the tickets and on the theme forest comments and the only thing I found was this css custom code, but it doesn't seem to be working anymore.

    \

    @media screen and (max-width: 480px) {
        #isotope-container .isotope-item.w3, .portfolio-holder .isotope-item.w3 {
            width: 50% !important;
        }
    }

    Any idea how to do it?

    Thanks,

    Carlos

  • [deleted] replied

    Hi Carlos,

    Can you please add the code below to your Custom CSS area:

    @media screen and (max-width: 480px) {
        .portfolio-holder .portfolio-item.w4 {
            width: 50% !important;
        }
    }

  •  1
    Carlos Lazarini replied

    Thanks Ylli, it works!

    I also added padding:0 otherwise it looks pretty strange between the columns.

    Have a nice day.

  • [deleted] replied

    Hi Carlos,

    I'm glad to hear that

    Have a nice day for you too.