Hi Support Team,
i recently set up a custom under construction page as a landing page, that should provide more than just a logo and a litte text info. It’s a very long page with one page navigation inside and even a slider as header etc.
But i run in a huge problem after setting this page as the under construction page. The page dont let me scroll and looks like a mess!
The reason i found was in the plugin “tco-under-construction/functions/enqueue/styles.php” “Disable browser scroll” section.
/*
// Disable browser scroll.
*/
html, body {
overflow: hidden !important;
height: 100% !important;
background: none;
}
I comment out this part and also this one to set my own backgrounds:
/*
// Base styles.
*/
body {
background-color: <?php echo $tco_under_construction_background_color; ?> !important;
<?php if ( $tco_under_construction_background_image != '' ) : ?>
background-image: url(<?php echo $tco_under_construction_background_image; ?>);
background-position: 50% 50%;
background-repeat: no-repeat;
-webkit-background-size: cover;
background-size: cover;
<?php endif; ?>
}
Now the page looks and works as it should be.
I don’t know the reason why this “Disable Browser scroll” stuff is in there, but if i want to make a longer custom page it mess it up! I hope you can explain me that, otherwise it would be nice to have the option to make scrollable custom under construction page.
Regnalf