[Support request] Different images depending on whether you look on tablet desktop or mobile

Home Forums Support [Support request] Different images depending on whether you look on tablet desktop or mobile

Home Forums Support Different images depending on whether you look on tablet desktop or mobile

  • This topic has 3 replies, 2 voices, and was last updated 5 years ago by Leo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #844882
    johnzoro

    I know this has probably been asked a million times already and i’m sorry if that is the case.

    Is it possible to change an image if someone is using a mobile.

    So for example i have a rectangular banner on my page of my website and it looks ok on dwsktop but on mobile its very snall.

    So what i would like to do is if someone visits the site on a mobile it shows a different image with different dimensions.

    God i hope i am making sense.

    Cheers for any help

    #844883
    Leo
    Staff
    Customer Support

    Hi there,

    Are you referring to static images added in content?

    #844894
    johnzoro

    Yes

    #844896
    Leo
    Staff
    Customer Support

    Then you should be able to add the built-in hide-on classes to the images:
    https://docs.generatepress.com/article/responsive-display/#using-our-hide-on-classes

    Let me know if this helps 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.