Okay
  Public Ticket #2744836
image gallery on mobile
Closed

Comments

  •  14
    Laurie started the conversation

    was hoping for some updated mobile options on 13, but nonetheless great update!  I'm having trouble though changing the cols on mobile for image gallery, and col responsive options don't work as expected.  I want to be able to select grid cols for tablet and mobile...and can't figure out the css in the meantime.

  •  2,961
  •  14
    Laurie replied

    Thanks, Andrew- although that's helpful...I already tried that.  Unless I need to change tablet and not just mobile width offset...perhaps I'm missing some combination of sorts.  Seems to be more the width of the image gallery cols than the columns itself.  Not sure.  This is actually the page I'm working on:

    https://sohoventuresescapes.com/property/shandon-bungalow/

  •  8,847
    Tahir replied

    Hey Again,

    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: 690px) {
        body .portfolio-items .col.elastic-portfolio-item {
            width: calc(50% - 1px) !important;
        }
    }

    Thanks


    ThemeNectar Support Team 

  •  14
    Laurie replied

    that worked.  I think I just wasn't grabbing the right parameters or something. Suggestion for future update too to be able to select cols in dropdown or something for those mobile options. I am a dev and ONLY use Salient (obv css skills are mediocre LOL)

    Appreciate the help! :)