Support » Theme: HGW Whiteboard » Font size shrinks after page load

  • Resolved bklassenabb

    (@bklassenabb)


    Hi, sometimes after I load a page in HGW Whiteboard, the font gradually shrinks to a smaller font size a second or 2 after loading. It’s very strange and unexpected behavior.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author Asadiyan

    (@asadiy4n)

    Hi @bklassenabb
    This may be a problem with your plugins, Please disable your plugins temporarily.
    If the problem persists, enter your site URL so I can check.

    Thread Starter bklassenabb

    (@bklassenabb)

    Hi @asadiy4n, it’s happening in this preview page: go to https://wordpress.org/themes/hgw-whiteboard/ and click Preview. Then adjust the width of the browser and see how the site name and site description shrink and grow. You might have to wait a second or 2 after you adjust the browser width before the text size changes.

    • This reply was modified 3 months, 2 weeks ago by bklassenabb.
    Theme Author Asadiyan

    (@asadiy4n)

    I understand what you mean now
    In fact, this is not a problem and the font size will increase and decrease with the browser width, But I agree that this needs to be improved
    I will try to improve this in the next version
    Thank you for letting us know about this

    Thread Starter bklassenabb

    (@bklassenabb)

    Hi @asadiy4n, I agree that the font size increasing and decreasing with browser width is not a problem. I think the problem is the delayed response. If the font size changed at the same time as the browser width changed, it would be ok. But the delayed font size change creates an unexpected content shift.

    Thread Starter bklassenabb

    (@bklassenabb)

    I think this CSS transition selector is too broad and is causing the page layout to shift after the page loads. I think it might be creating a cascade of transitions that is causing delayed transitions.

    *,
    *::before,
    *::after {
            ...
            transition: .5s ease-in-out;
    }

    https://themes.trac.wordpress.org/browser/hgw-whiteboard/1.3.3/style.css#L49

    Please remove this universal transition and replace with more specific transitions on the elements that should have transitions.

    Theme Author Asadiyan

    (@asadiy4n)

    A new version of the template will be released soon
    In the new version, the appearance of the template has been improved
    And there are more custom settings
    This case will also be resolved

    Thank you very much for your help

    Thread Starter bklassenabb

    (@bklassenabb)

    Great! Looking forward to the new version – thanks for the great template!

    Theme Author Asadiyan

    (@asadiy4n)

    Hi @bklassenabb
    The new version has now been released and the issue you reported has been fixed.
    Several other problems have been fixed in this version.
    More custom settings will be added in the next version.

    Thread Starter bklassenabb

    (@bklassenabb)

    Thanks @asadiy4n !

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.