The problem happens, because of the combination of 3 CSS codes. In the style.css file on line 21. there is this code:
body, html {
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
min-width: 320px;
position: relative;
background: #fff;
}
so there is a height 100% defined for the body and html elements. Then at the lrm-core-compiled.css file this code is used at line 492.:
html.html-has-lrm {
overflow: auto !important;
}
At the Fullwidth layout:
https://smartslider.helpscoutdocs.com/article/1776-fullwidth-layout
because of the “Overflow-X” option we are adding this CSS code using JavaScript to the body tag:
element.style {
overflow-x: hidden;
}
If you remove any of these codes, even just one of them, it will be fine. You don’t really need 100% height for the body, html elements, because this would only be necessary if your content would be so few, that you would need to make sure it touches the bottom, even if there aren’t enough contents on the website. Also since you don’t have a footer, there is nothing really to push to the bottom of the site.
The overflow auto on the html element is unnecessary, because this creates overflow:scroll, which is what you would get without it too.
Lastly, we are using overflow-x: hidden; by default, because we are using JavaScript with the “force full width” option to calculate the width of the slider, to go over theme limitations and if this calculation wouldn’t be pixel perfect, we are hiding the vertical scrollbar with this code. But as far as I saw at our users, it was always pixel perfect and this would be probably unnecessary for you too and you could just turn it off.
-
This reply was modified 4 years, 6 months ago by
Gabor.
-
This reply was modified 4 years, 6 months ago by
Gabor.