Why when you change the slide jerks bekhradnia picture of the unit?

Hello! Is there a website on wordpress, where in the section types of panels 3f4970da522a41f4bb451b580be7579a.png when changing the slide jerks bekhradnia picture section
#new-tab {
 background: url(images/panel-section.jpg) no-repeat;
 background-size: cover;
 position: relative;
 padding-top: 70px;
 padding-bottom: 80px;
 width: 100%;
 min-height: 1069px;
}

Why is this happening and how can this be correct?
July 2nd 19 at 14:18
2 answers
July 2nd 19 at 14:20
Solution
ask for .tab-content or #new-tab fixed width ( height value in pixels). With a better margin for content.
In fact, you can even steeper. Is jQuery. Take the height of an element with string content, save it in a variable and give it (in a calculation with other child elements) to the height of the parent after the page is loaded. It is possible to do a little math if you have the desire iz*nutsya. (sorry) - Arely.Casper commented on July 2nd 19 at 14:23
: Roger that, it was once already considered such - more plugins minimization and caching had to be taken - no desire to bother, just to load the site. and if the scripts will be disabled in the browser then all the trouble. better to let 1 times the background moves with a large description, it will all jump up and loaded will always - Shaun.Doyle commented on July 2nd 19 at 14:26
: right. For the future, just like things to make using background-image + additional properties. Then block the backside is not required, a fixed height, if the background position will be determined through an equally fixed background-position.
Fixed height for the block in which falls the content from the database is bad code. I even today had a bust-up with his account Manager to work for this topic. - Arely.Casper commented on July 2nd 19 at 14:29
July 2nd 19 at 14:22
because the height of the block #new-tab changes depending on the content bottom and the picture is stretched more
Yes, thank you, I noticed that too - it lends itself to the edit? - Arely.Casper commented on July 2nd 19 at 14:25
: ask for #front-page #new-tab background-size: cover not, and 110% for example - Shaun.Doyle commented on July 2nd 19 at 14:28
: is this unit to set the fix. the height and everything will be OK clip2net.com/s/3EO5DSr - Arely.Casper commented on July 2nd 19 at 14:31
Yes, even more elegant did was set min-height in case will have a huge block, it is only time move out and removed the indentation of the block below, thank you - Shaun.Doyle commented on July 2nd 19 at 14:34
unfortunately, 110% has not solved the problem, but min-height for content block - Yes! - Rosendo_Hess commented on July 2nd 19 at 14:37

Find more questions by tags JavaScriptHTMLCSSjQuery