Viewing 1 replies (of 1 total)
  • Plugin Author malihu

    (@malihu)

    Hi,

    Mobile/tablets is a very broad/vague term and not really reliable for differentiating offset.

    The plugin provides a way to set an advanced offset value (other than fixed pixels) in order to accomplish different offsets based on element selector.

    For example, lets say you have a responsive top menu with id “some-id”. Instead of setting its height value in the ‘Offset’ field, you could do:

    • Offset by element with id “some-id”: #some-id
    • Offset by element with id “some-id” and CSS position fixed: #some-id:fixed
    • Offset by element with id “some-id” and height equal to 100 pixels: #some-id:height(100)
    • Offset by element with id “some-id” and width greater than 800 pixels: #some-id:width(>800)
    • Offset by element with id “some-id”, CSS position fixed and height between 50 and 100 pixels: #some-id:fixed:height(>50):height(<100)

    Hope this helps

Viewing 1 replies (of 1 total)

The topic ‘Offset different on Mobile’ is closed to new replies.