Title: Dynamic Resizing
Last modified: August 4, 2022

---

# Dynamic Resizing

 *  Resolved [Richard Brown](https://wordpress.org/support/users/cregy/)
 * (@cregy)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/dynamic-resizing/)
 * Hi Guys
 * Very happy with the slider but wonder if you can help with the settings. I have
   actually put the slider into a box to keep the photos retaining their look. What
   I am trying to do is to have the full height of the photos set to say 400px but
   for the width to dynamically resize to show the full photo. Is that possible 
   please?
 * Thanks
 * Rich
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdynamic-resizing%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Laszlo](https://wordpress.org/support/users/laszloszalvak/)
 * (@laszloszalvak)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/dynamic-resizing/#post-15887735)
 * Hi [@cregy](https://wordpress.org/support/users/cregy/)
 * By putting a boxed slider into a narrow container, that container will always
   limit the width of your slider, so your slider won’t be able to go wider than
   that and nor the images inside the slider.
 * If you want the images to appear without being cropped then what you should rather
   do is using the “Fit” or “Blur fit” fill mode:
    - [https://smartslider.helpscoutdocs.com/article/1809-slider-settings-slides#slide-background-image-fill](https://smartslider.helpscoutdocs.com/article/1809-slider-settings-slides#slide-background-image-fill)
 * that way your images could fit into the slider. If the aspect ratio of your images
   and the slider differs, then a gap would occur around the images. With the blur
   fit fill mode, there would be an enlarged and blurred version of the image behind.
 * Best regards,
    Laszlo.
 *  Thread Starter [Richard Brown](https://wordpress.org/support/users/cregy/)
 * (@cregy)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/dynamic-resizing/#post-15888739)
 * Thanks for the reply [@laszloszalvak](https://wordpress.org/support/users/laszloszalvak/)
   that almost answered my query. I have put the slider in a box but what if I want
   that box to now be 900px in width but keep the height in relation to this so 
   the picture scale correctly?
 * Thanks
 * Rich
 *  Plugin Support [Gabor](https://wordpress.org/support/users/nextendweb_gabor/)
 * (@nextendweb_gabor)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/dynamic-resizing/#post-15888786)
 * Hi [@cregy](https://wordpress.org/support/users/cregy/)!
 * Your slider’s width can only be based on its container, so if you want to have
   a 900px wide slider, that container has to be 900px wide too. You could use this
   CSS code:
 *     ```
       div.site-container .header-widget-area{
          max-width:900px;
       }
       ```
   
 * to increase your theme’s header to be 900px wide. You could go to our slider’s
   Developer tab:
    [https://smartslider.helpscoutdocs.com/article/1806-slider-settings-developer](https://smartslider.helpscoutdocs.com/article/1806-slider-settings-developer)
   and insert the code into the CSS field.
 * Then if you want your ‘Slider size’ ratio to be used on any screen:
    [https://smartslider.helpscoutdocs.com/article/2033-what-affects-slider-size#slider-size](https://smartslider.helpscoutdocs.com/article/2033-what-affects-slider-size#slider-size)
   you should make sure, that the “Limit slide width” is being turned off: [https://smartslider.helpscoutdocs.com/article/2033-what-affects-slider-size#limit-slide-width](https://smartslider.helpscoutdocs.com/article/2033-what-affects-slider-size#limit-slide-width)
   which creates a maximum height for your slider. And at the Layout: [https://smartslider.helpscoutdocs.com/article/2033-what-affects-slider-size#boxed](https://smartslider.helpscoutdocs.com/article/2033-what-affects-slider-size#boxed)
   don’t use “Min height” either, as that would distort the ratio too.
 *  Thread Starter [Richard Brown](https://wordpress.org/support/users/cregy/)
 * (@cregy)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/dynamic-resizing/#post-15910126)
 * Brilliant and thanks for all the help and an amazing plugin.
 * rich

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

The topic ‘Dynamic Resizing’ is closed to new replies.

 * ![](https://ps.w.org/smart-slider-3/assets/icon.svg?rev=2307688)
 * [Smart Slider 3](https://wordpress.org/plugins/smart-slider-3/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smart-slider-3/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smart-slider-3/)
 * [Active Topics](https://wordpress.org/support/plugin/smart-slider-3/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smart-slider-3/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smart-slider-3/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Richard Brown](https://wordpress.org/support/users/cregy/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/dynamic-resizing/#post-15910126)
 * Status: resolved