- This topic has 9 replies, 3 voices, and was last updated 3 years, 5 months ago by
David.
-
AuthorPosts
-
November 19, 2022 at 11:30 pm #2423660
John
Hi there,
I was wondering if you had any tips for fixing scaling issues when people have their windows set to zoom 150% with website builds.
For example, we have been designing a site which looks great, but not for the client.
Their windows is set to 150% zoom in the WINDOWS < SETTINGS < SYSTEM < DISPLAY < SCALE AND LAYOUT.
This seems to be OK for most of their sites, but makes ours look really outlandishly big.I found a few snippets of css on other sites but thought to ask here as you may have come across it for Generatepress previously.
https://silvawebdesigns.com/how-to-fix-windows-scaling-issues-above-100-for-your-website/
I did apply this, but it didn’t seem to make any difference when I applied it to the site.Any suggestions on how best to approach this?
Cheers!
JohnNovember 20, 2022 at 6:06 am #2423939David
StaffCustomer SupportHi there,
is it possible to see the site, that is displayed OK? We can then compare.
November 20, 2022 at 2:18 pm #2424536John
It is behind a “COMING SOON” page.
This is the link:
https://seedsofthesunbyronbay.com/
If you let me know when you are online to take a looksee I will take the COMING SOON off.
Or I can send you admin logins if you prefer.
Cheers!November 20, 2022 at 2:54 pm #2424561Ying
StaffCustomer SupportHi John,
It would be convenient if you can share the admin login.
Please use the private info field.November 20, 2022 at 3:03 pm #2424568John
OK done – thanks!
November 21, 2022 at 3:46 am #2425120David
StaffCustomer SupportThis seems to be OK for most of their sites,
Is that URL one of the sites that looks ok at 150% ?
November 21, 2022 at 1:17 pm #2426194John
This is their website which we are designing for them, and it does not look good at 150%.
I only realised it when we were screen sharing.
Their Windows is a on a 14″ laptop and it suggests 150% Zoom in.
We looked at other sites, and while they are bigger on their screen, it did not look as spaced as this one.
Let me know if that makes sense.
Cheers!November 22, 2022 at 5:55 am #2427095David
StaffCustomer SupportWe looked at other sites
– i kinda need to see one of those sites to do the comparison. Do you have one of the site URLs i can compare ?
November 22, 2022 at 1:36 pm #2427934John
We just looked at a few sites like Facebook and BBC.com to compare.
They did look more zoomed in, but their site looked really different and obnoxiously big.
I do appreciate it is hard to test this – just wanted to see if there was a way to apply a fix so it loads at a certain zoom depending on their settings.November 23, 2022 at 3:48 am #2428771David
StaffCustomer SupportSo GP uses this viewport meta:
<meta name="viewport" content="width=device-width, initial-scale=1">Which is the only thing that GP adds by default that defines how the browser should handle scaling.
Its a standard setting, for example the BBC.com site uses the exact same meta value.
Facebook uses the same but with a couple more restraints:<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=2,shrink-to-fit=no">You can change the GP viewport meta using this filter if you wanted to test:
add_filter( 'generate_meta_viewport', function() { return '<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=2,shrink-to-fit=no">'; } );The other major contributing factor to how a site is displayed is related to the CSS units used for typography and spacing. For example the BBC site uses
REMwhich are to a degree more responsive to scaling. Your site is usingpx– if that is the issue you would need to edit those settings where possible.I did check the site on my various devices, the smallest of which is a 13″ MacBook and it looks great. And its not the kind of site i would do a comparison to Facebook or BBC as the designs are completely different.
-
AuthorPosts
- You must be logged in to reply to this topic.