Title: Slider resizing bug
Last modified: April 10, 2020

---

# Slider resizing bug

 *  Resolved [konigrot](https://wordpress.org/support/users/konigrot/)
 * (@konigrot)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/slider-resizing-bug/)
 * Access password (if needed) is ‘intesting’. The slider is setup to be hidden 
   on larger screen sizes, and only display below 900px screen width.
 * The slider initially loads correctly, and can interact ok. But if I scroll down
   the page and back up, or rotate (mobile), or resize the browser window (desktop),
   the refresh event prompt the slider to become ridiculously wide and messes up
   the display.
 * It seems that every resize event cause the slides to resize larger by some kind
   of scalar proportion, so they swiftly become out of scope.
 * What puzzles me is what the slider is doing in the resize that causes it to mess
   up, and if there are any ways to work around that?
 * The slides contain shortcode content.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fslider-resizing-bug%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [simonpedge](https://wordpress.org/support/users/simonpedge/)
 * (@simonpedge)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/slider-resizing-bug/#post-12659409)
 * You could try ticking the “**DOMContentLoaded event**” checkbox (under Other 
   Settings).
 * Also have a look at this page on your mobile:
    [https://edgewebpages.com/](https://edgewebpages.com/)
   Resize the screen to check whether the resize events are working correctly.
 * You can also try creating a test slider on your site without shortcode content
   to see what happens when resizing.
 *  Thread Starter [konigrot](https://wordpress.org/support/users/konigrot/)
 * (@konigrot)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/slider-resizing-bug/#post-12661407)
 * Thanks for this. I think the issue was my css – something about a flex-wrap definition
   was causing the slider to keep recalculating its width in a strange way. It seems
   stable now. 🙂

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

The topic ‘Slider resizing bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slide-anything.svg)
 * [Slide Anything - Responsive Content / HTML Slider and Carousel](https://wordpress.org/plugins/slide-anything/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slide-anything/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slide-anything/)
 * [Active Topics](https://wordpress.org/support/plugin/slide-anything/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slide-anything/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slide-anything/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [konigrot](https://wordpress.org/support/users/konigrot/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/slider-resizing-bug/#post-12661407)
 * Status: resolved