Okay
  Public Ticket #3185947
2 column image gallery on mobile
Closed

Comments

  • bryangibbs1984 started the conversation

    Hey there, 

    I have 2 image galleries on my homepage. I have them set to fullwidth and constrain to 4 columns. On mobile they display in one column, is it possible to have them display in 2 columns? On desktop if I pull the browser in to mobile size they display in 2, but when I look on my phone it's only 1 column.

    Thanks!

  •  8,839
    Tahir replied

    Hey Again, Hope you had a Positive Weekend, 

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    @media only screen and (max-width: 990px) {
        .wpb_gallery_slidesimage_grid .portfolio-items .elastic-portfolio-item {
            width: calc( 50% - 6px ) !important;
        }
    }

    Thanks


    ThemeNectar Support Team