Hi,
We create a horizontal scroll for small screens:
Could be possible that when the page loading the scroll will be in the middle?
Many thanks.
BR
Hi,
I think that I got it. I have add this code in a code block in the page:
<script>
window.addEventListener(‘load’, () => {
let scrollElement = document.querySelector(‘.mapcontainer’);
scrollElement.scrollLeft = (scrollElement.scrollWidth – scrollElement.clientWidth ) / 2;
});
</script>
Thanks,
BR,
Antonio.
