New Landing How can we help? Themeforest Theme Support Flexform Google Map only visible on mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Flexform
  • #9842
    aliossi
    Member
    Post count: 37

    Hi,

    I would like to implement a google map using the swift page builder on my homepage. However, it is important that map only appears on mobile phone. Of course, I am aware of the visibility shortcodes but dont know how to apply in this case.

    Thx in advance

    aliossi

    #10061
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi aliossi,

    You could hide it with custom CSS:

    @media screen and (min-width: 600px) {
      .wpb_gmaps_widget { display: none !important; }
    }

    That will show it on most if not all smartphones, while hiding it on any larger devices.

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

    #10535
    aliossi
    Member
    Post count: 37

    Hi,

    Taking this set up means that maps on all pages dissapear. I need a set up to realize it only on one specific page. Thx

    #10894
    Cosmin – SUPPORT
    Member
    Post count: 3851

    You can use the class added to that page on the body tag. If unsure, leave a link to that page and I’ll provide the code.

    Regards,
    ————————————————————————————————————

    Cosmin – Support

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register