Okay
  Public Ticket #3594156
Image gallery pagination controls on mobile
Closed

Comments

  •  30
    damien started the conversation

    Hey, Im using the image gallery module and setting the "controls" to "Nex/Prev arrows overlaid" which works great on desktop but nothing shows for mobile?

    Its impossible to know on a mobile that you can scroll through the gallery so its bad from a UI/UX perspective.

    Is there any fix for this at all for mobile?

    Thanks
    Damien

  •  8,838
    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: 999px) {
        .nectar-flickity[data-controls*=arrows_overlaid][data-overflow=visible] .flickity-prev-next-button {
            opacity: 1 !important;
            visibility: visible !important;
            pointer-events: all !important;
        }
    }

    Thanks


    ThemeNectar Support Team 

  •  30
    damien replied

    Brilliant, thankyou Tahir.

    The only mising thing is that the arrows need to be vertially center aligned. currently they appear to be 40% from the bottom of the image and not center aligned

  •  8,838
    Tahir replied

    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){
        .nectar-flickity[data-controls*=arrows_overlaid] .flickity-prev-next-button {
            -webkit-transform: translateY(-50%) !important;
            -ms-transform: translateY(-50%) !important;
            transform: translateY(-50%) !important;
        }
    }

    Thanks


    ThemeNectar Support Team 

  •  30
    damien replied

    brilliant, thakyou