Title: custom code
Last modified: August 29, 2018

---

# custom code

 *  Resolved [wpbetsy](https://wordpress.org/support/users/wpbetsy/)
 * (@wpbetsy)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/custom-code-8/)
 * I wonder when can this issue be addressed to
 * “how to set custom code?”

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [wpbetsy](https://wordpress.org/support/users/wpbetsy/)
 * (@wpbetsy)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/custom-code-8/#post-10648454)
 * > [View post on imgur.com](https://imgur.com/a/uJQiD0D)
 * The above is not 600px height
 *  [Aditya Shah](https://wordpress.org/support/users/ethicaladitya/)
 * (@ethicaladitya)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/custom-code-8/#post-10649475)
 * The below CSS works fine for me. Please check the screenshot [here](https://ibb.co/e6oD0K).
 *     ```
       .ig_body{
       max-height: 540px !important;
       }
       ```
   
 * Hope this helps you. Please let me know your website URL if you still face issues.
    -  This reply was modified 7 years, 9 months ago by [Aditya Shah](https://wordpress.org/support/users/ethicaladitya/).
 *  Thread Starter [wpbetsy](https://wordpress.org/support/users/wpbetsy/)
 * (@wpbetsy)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/custom-code-8/#post-10651791)
 * This works now.
 * However, it’s not responsive. Too big for mobile view, can you please make it
   responsive?
 *  [Aditya Shah](https://wordpress.org/support/users/ethicaladitya/)
 * (@ethicaladitya)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/custom-code-8/#post-10658144)
 * Please use the below-mentioned CSS to change the size on mobile.
 *     ```
       .ig_body{
       max-height: 540px !important;
       }
       @media only screen and (max-width: 600px) {
           .ig_body {
               max-height: 200px !important;
           }
       }
       ```
   
 * Hope this helps you.
 *  Thread Starter [wpbetsy](https://wordpress.org/support/users/wpbetsy/)
 * (@wpbetsy)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/custom-code-8/#post-10658757)
 * However, the content just crop to 200px height in mobile view. It’s not showing
   in proportion.
 * How to make it smaller by setting a % so that it shows in a proportional size?
 *  Thread Starter [wpbetsy](https://wordpress.org/support/users/wpbetsy/)
 * (@wpbetsy)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/custom-code-8/#post-10662821)
 * What’s the code for mobile responsive, resize by % in proportion?
 *  Thread Starter [wpbetsy](https://wordpress.org/support/users/wpbetsy/)
 * (@wpbetsy)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/custom-code-8/#post-10676741)
 * What’s the code for mobile responsive, resize by % in proportion?
 *  [Aditya Shah](https://wordpress.org/support/users/ethicaladitya/)
 * (@ethicaladitya)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/custom-code-8/#post-10713975)
 * Please use the code
 *     ```
       .ig_body{
       max-height: 540px !important;
       }
       @media only screen and (max-width: 600px) {
           .ig_body {
               max-height: 12em !important;
           }
       }
       ```
   
 * This will make it mobile responsive, please try and let me know how it goes for
   you.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘custom code’ is closed to new replies.

 * ![](https://ps.w.org/icegram/assets/icon-128x128.gif?rev=3469073)
 * [Icegram Engage – Popups, Optins, CTAs & Lead Generation](https://wordpress.org/plugins/icegram/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/icegram/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/icegram/)
 * [Active Topics](https://wordpress.org/support/plugin/icegram/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/icegram/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/icegram/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Aditya Shah](https://wordpress.org/support/users/ethicaladitya/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/custom-code-8/#post-10713975)
 * Status: resolved