Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Grafikbutik

    (@grafikbutik)

    I found this info elsewhere: that I could try writing in nggallery.css: Width: 100%
    Max height: xx px
    But how do I make it apply to only when viewed from a mobilephone?

    Plugin Contributor photocrati

    (@photocrati)

    @grafikbutik – You can use @media statements in your CSS to make certain changes occur in certain screen conditions: https://css-tricks.com/css-media-queries/

    Best,

    -Drew

    Thread Starter Grafikbutik

    (@grafikbutik)

    Hi Drew
    Thank you!
    What do I write then to make sure the images are still shown at their exact proportions? The goal is to show the images as they are painted – small but still in perfect proportion.
    @media all and (max-width: 699px)- and then? (something like perhaps showing in 20% size, but I don’t know how to write that)

    Plugin Contributor photocrati

    (@photocrati)

    @grafikbutik – I would suggest looking into the various @media properties and how best to work with those … here is a link to the “W3 Schools”, it may get you started: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp

    This sort of custom CSS, which is generally also going to be theme related to an extent is outside the scope of our support services.

    Thanks!

    – Cais.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘NGG on iPhone’ is closed to new replies.