Title: embed code does not work properly
Last modified: August 21, 2016

---

# embed code does not work properly

 *  [Dddt](https://wordpress.org/support/users/dddt/)
 * (@dddt)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/embed-code-does-not-work-properly/)
 * hello,
    I am trying to make smaller the video size in embed code option for slider
   part but it does not react to my sizes at all, no matter how small I put parameters,
   it always shows the biggest size on mobiles and desktops, what should I do to
   fix this? thanks

Viewing 1 replies (of 1 total)

 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/embed-code-does-not-work-properly/#post-5008490)
 * You can set a max width in the css. so for example try adding this to your custom
   css box in the theme options:
 *     ```
       .videofit {
       max-width: 500px;
       }
       ```
   
 * Kadence Themes

Viewing 1 replies (of 1 total)

The topic ‘embed code does not work properly’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/virtue/3.4.15/screenshot.png)
 * Virtue
 * [Support Threads](https://wordpress.org/support/theme/virtue/)
 * [Active Topics](https://wordpress.org/support/theme/virtue/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/virtue/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/virtue/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/embed-code-does-not-work-properly/#post-5008490)
 * Status: not resolved