Skip to main content
Contributor ⭐️⭐️
Aug 24, 2021 2:32 PM UTC
Solved

Images grow with knowledge center on expand (responsive sizing)

Hi Gainsight Community!

 

Is it possible to have images enlarge proportionally when the knowledge center is expanded? As it is now, images in the default view remain the same size when the view is expanded (pictured below). 

 

Default

Expanded

 

If anyone has successfully resized images on expand and can pass on the knowledge, it would be much appreciated! Thanks.

    link_black
    Gainsight Employee ⭐️⭐️
    Aug 25, 2021 12:54 PM UTC

    Thanks for posting to PX Community @dgibbons !

     

    You should be able to use %’s instead of px’s when setting the image size to allow them to resize automatically.  See the below examples: 

     

     

     

    Happy PX-ing!

     

     

    -- Link

    2 replies

    link_black
    Gainsight Employee ⭐️⭐️
    Aug 25, 2021 12:54 PM UTC

    Thanks for posting to PX Community @dgibbons !

     

    You should be able to use %’s instead of px’s when setting the image size to allow them to resize automatically.  See the below examples: 

     

     

     

    Happy PX-ing!

     

     

    Translate
    -- Link
    dgibbonsAuthor
    Contributor ⭐️⭐️
    Aug 25, 2021 3:45 PM UTC

    @link_black Awesome, thanks so much! The solution works perfectly. 

    Translate