Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #282265

    Hi.. I try to embed a panopress. It looks nice, however the height in mobile device is still the same as in the PC. My question is what is the css to set the height in mobile device?
    Fyi. my trial page is: http://villabugis.com/our-villas/rama2

    Thank you

    #282307

    Hey dewasurya!

    You can try to use a media query to resize the panopress container like:

    
    @media only screen and (max-width: 767px) {
    #top #wrap_all .pp-embed{ height: 200px; }
    }
    

    and replace 200px with your custom height value and adjust the screen size value (767px) if necessary. If the code doesn’t work you can also try to add !important to the height value ( height: 200px !important; ).

    Cheers!
    Peter

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