Under construction page (custom) outputs unwanted css

Hi,

I’m working on a site for a client that is currently set to ‘Under construction’ with a custom page. I seems that the plugin is outputting css that should only be there when I uncheck ‘Use a custom Under Construction Page’.

I have to uncheck it first to set the bg color to white. And it outputs (amongst many other things):

html, body {
overflow: hidden !important;
height: 100% !important;
background: none;
}

So there are no scrollbars, while I need them to be there.Looks like a bug to me …

Will send you url and credentials in a secure note.

regards,

Richard

p.s. I tried deactivating all pugins, swithed off all caching and everything is up to date.

Btw on another site running on an older version of pro, this not the case!

Hi Richard,

Thanks for writing in! Sorry for the confusion here. That was the intended behavior of the Under construction page.

To make the page scroll you need to add the following code in the Theme Options > Global CSS area.

html, body.page {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

Hope this helps!

Hi,

I’m aware of this option. I only find it strange that when you choose a custom under construction page, that the page you choose isn’t visible in total. I would appreciate if you ask the developers to maybe change it. It makes no sense having to use more css to counterbalance something that’s not logical in the first place. And, like I said before, it wasn’t the case in previous versions of pro and x. Why is that?

regards,

Richard

Hi there,

I will be more happy to add this to our issue tracker. But would you mind providing a video recording? I’m not just sure if there are more to it than scroll bar issue. I like to know what are unwanted CSS that are being generated other than scroll bar issue. Or just my understanding of the issue is different.

Thanks!

just do a right click inspect and look at all the .tco related css. Most of it is totally irrevevant in my opinion when I use a custom page for under construction.

Hello Rlav,

I have checked your site and yes I see the .tco styles in the output. I can confirm that this is a bug in the plugin. This has been added already in our issue tracker and our developers has been made aware of this issue already. Hopefully they can get this fixed and update the plugin which will be rolled out in our next plugin update release cycle.

Thank for your understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.