Member
Member
Ralf   30-12-2014, 15:08
#1

Hi,

just nocticed this beheaviour with the static html plugin enabled.
Theme is zpbase.

From time to time the font size of the news and pages increases. This is browser independant.
Looks a little bit like you zoom the webpage.

Anyone else who has noticed this?

Cheers
Ralf

Administrator
Administrator
acrylian   30-12-2014, 16:18
#2

Never heard of or noticed this. Looked at your site and didn't see anything. Sure it happens only with the plugin? Maybe related to the theme then gjr would probably be able to answer anything about this.

Member
Member
Ralf   30-12-2014, 18:53
#3

Hi Acrylian,

the strange thing is that it does not happen everytime.

I am pretty sure it must be the static_html plugin because:

  1. This does not happen when i am logged in to zenphoto as an admin - did it with firefox
    As far as i understood the plugin does not cache the site when viewed with an admin login
  2. Have the site open in chrome where i am not logged in. There i can see the behaviour.

  3. Logged out in firefox: Font size increased like in chrome

  4. Disabled the plugin an everything looks fine.

So my guess it is something related to the theme/plugin combination.
With one of the standard themes this does not happen.

Will have a look with firebug when it occurs the next time.

Administrator
Administrator
acrylian   30-12-2014, 19:48
#4

[i]As far as i understood the plugin does not cache the site when viewed with an admin login[/i]
That's correct, cached pages are not used and also not generated if logged in. Could be a JS conflict since dynamically generated things like the lazy loaded parts are not cached. But just a guess gjr surely will have more ideas on this.

Member
Member
Ralf   31-12-2014, 13:50
#5

Hi,

maybe it is interesting for those who have the same 'problem':
Firebug showed me that the font size of 13px (set in the theme options) has changed to 16px.
Now I have searched the theme files for a setting of the font size of 16px.
There are two files:
header.php
image-popup.php

which have both the line:
if (($isMobile) || ($isTablet)) { echo 'body{font-size:16px;}'; }

Seems that - when caching is enabled the font size is sometimes set to the value of a mobile device.

For me I just changed the two files to a value of 13px and i am done with this problem.

Administrator
Administrator
acrylian   31-12-2014, 14:08
#6

That indeed makes sense as the cache plugin does not differ something like that.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.