Page 1 of 1
Single page protect font size
Posted: Fri Jun 26, 2020 1:51 pm
by MikeT
Pablo
Good afternoon
I have looked very carefully but cannot find any reference to this behaviour
on my website ( WWB 14.3.1)
https://www.rhoscolyncottage.co.uk/entry/ I have placed single page protection on this page and a few others. Google has been complaining about type size too small to read, so I increased the type size in the protect object, as being the only thing on the page which might be too small. However I could not persuade the font size to move either up or down and there is no reference to font size in the source.
What have I done wrong please? I will give you the password by pm if you need it.
MikeT
Re: Single page protect font size
Posted: Fri Jun 26, 2020 2:09 pm
by Pablo
The specified link does not work for me.
To be able to help you I need to access to the page.
Also note that version 14 is not actively maintained anymore.
Re: Single page protect font size
Posted: Tue Jun 30, 2020 7:57 am
by MikeT
Pablo
Sorry about that. I had forgotten to tick "notify me"
The link is
https://www.rhoscolyncottage.co.uk/
and then go to information and then entry.
But any other protected page will do e.g. closing, Family manual, suppliers, miscellaneous
Mike
Noted about 14- I'll do it shortly.
Re: Single page protect font size
Posted: Tue Jun 30, 2020 9:13 am
by Pablo
I think Google is complaining about the missing font-size.
In the latest version, the font size is included in the code.
Re: Single page protect font size
Posted: Tue Jun 30, 2020 10:01 am
by MikeT
Understood I buy it!

Re: Single page protect font size
Posted: Tue Jun 30, 2020 5:00 pm
by MikeT
Pedro
I bought the new version and then realised I should delete the protection and re-enter it.
However it still doesn't give the font size that I can see? This is definitely done using 15 as I have changed the label for password
Mike
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>entry.php</title>
<style>
body { background-color:#FFFFFF;text-align:center; }
#ProtectSinglePage1 { color:#000000;font-family:Arial;font-weight:normal;text-decoration:none;text-align:center; }
#ProtectSinglePage1 .button { background-color:#3370B7;border:1px solid #2E6DA4;border-radius:3px;color:#FFFFFF;padding:4px 14px 4px 14px; }
#ProtectSinglePage1 .error { color:#FF0000; }
#ProtectSinglePage1 #password { background-color:#FFFFFF;border:1px solid #CCCCCC;border-radius:2px;box-sizing:border-box;color:#555555;padding:6px 4px 6px 4px;width:100%; }
#ProtectSinglePage1 .header { background-color:#878787;color:#FFFFFF;padding:4px 4px 4px 4px; text-align: center; }
#ProtectSinglePage1 form { display:inline-block; }
#ProtectSinglePage1 table { background-color:#FFFFFF;border:1px solid #CCCCCC;border-radius:4px;border-spacing:6px;color:#000000;width:350px;}
#ProtectSinglePage1 td { padding:0;text-align:center; }
@media all and (max-width:480px) { #ProtectSinglePage1 table, #ProtectSinglePage1 form { width: 100% !important; } }
</style>
</head>
<body>
<div id="ProtectSinglePage1">
<br>
<span>This page is password protected.<br><br><br></span>
<form method="post" action="entry.php">
<input type="hidden" name="form_name" value="loginform">
<table>
<tbody>
<tr><td class="header">Login</td></tr>
<tr><td><br><label for="password">Please enter your password:</label></td></tr>
<tr><td><input id="password" type="password" name="password" value=""></td></tr>
<tr><td><br><br><br><input class="button" type="submit" value="Login"></td></tr>
</tbody>
</table>
</form>
</div>
</body>
</html>
Re: Single page protect font size
Posted: Tue Jun 30, 2020 5:13 pm
by Pablo
Re: Single page protect font size
Posted: Tue Jun 30, 2020 7:32 pm
by MikeT
15.3.0 from February
Re: Single page protect font size
Posted: Tue Jun 30, 2020 7:34 pm
by MikeT
ok I see that I have not got the latest. Will try and report back
Re: Single page protect font size
Posted: Wed Jul 01, 2020 8:16 am
by MikeT
OK Pablo, you've cracked it!
And it is now responsive to font size. Could you possibly include the login button as I see that is not changing- although I can't see why. But then I'm no coder.
Thanks
Mike
Re: Single page protect font size
Posted: Wed Jul 01, 2020 9:19 am
by Pablo
In the latest build (7/1/2020) I have also added the font-size to the button
Re: Single page protect font size
Posted: Wed Jul 01, 2020 9:30 am
by MikeT
Pablo
Many thanks. There aren't many people who can turn things round so quickly.
Much appreciated.
Mike
I'll rebuild it a bit later and confirm all well.