Incorrect slide width on initial load
-
Hi,
I have an issue with SA Slider when browser window is wider than boxed content max width. Please see console on linked page load (I stopped slider on this page for more convenient debugging), I’ve added a script to output dimensions jQuery returns.
Boxed content max width is 1320 minus 2×20 side paddings, so must be 1280. When browser window is > 1320 jQuery returns width 1120, outerWidth 1160.
The only place I found width setting 1160 is slider’s parent element #main-page-content max-width, but it’s overriden with other CSS — #main-page-content.project-page max-width = 1320;
I tried to add CSS media query to set exact width (), nothing changed.
After window resize everything comes good. Please advise how to fix.The page I need help with: [log in to see the link]
- The topic ‘Incorrect slide width on initial load’ is closed to new replies.