• Resolved gene-stevo

    (@gene-stevo)


    Hi Guys,
    I’ve just started using your excellent form building plug-in and I’m having a bit of an issue.
    If I try to load a page containing a Forminator form via the sites main menu the menu does a little side step before settling to it’s normal position. This drives me nuts.
    WordPress 5.8.1
    Twenty Twenty theme 1.8
    Any help greatly appreciated,
    Cheers,
    Eugene

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @gene-stevo

    Are you using the “load form via Ajax” option for the form?
    Could you try to toggle this and see if it makes any difference?

    Thank you,
    Dimitris

    Thread Starter gene-stevo

    (@gene-stevo)

    Hi Dimitris,
    Huge thanks for your prompt reply. I wasn’t using AJAX but have now chosen that option but alas it makes no difference. There was a google map embedded into the page which I thought may be the culprit but removing that made no difference either.
    I checked the page using GTmetrix.com and the only significant issue with the page (Med-High) relates to the elimination of render blocking resources, with several references to Forminator files. I don’t pretend to understand this stuff much but it maybe a clue?
    One thing I didn’t mention is that the site is still in development and as yet we have no smtp server for Forminator to talk to. Could that be a possible cause?
    Thanks again for your support so far, much appreciated,
    Regards, Eugene.

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @gene-stevo !

    I hope you’re having a great week!

    Yes, it may have something to do with render-blocking (this is another way to say that something is causing the browser to have to wait for additional information in order to be able to layout the items on the page).

    I wasn’t actually able to replicate this issue until I decided to make a screen recording to share with you and confirm if you see the same or something different on your end. And that’s when the issue started happening for me as well ??

    Actually this is happening on other pages as well, not only the ones with a Forminator form.

    From what I see, it may be caused by the “Inter var” font causing a slight delay when being loaded. You can see this most prominently in incognito mode or by doing a force refresh which will force all files/assets of the page to be redownloaded.

    So the scenario here is like this:
    – page loads, gets the CSS
    – CSS says that we need the Inter var font to display the menu text
    – browser will use a default font in the meantime (or next on the list in CSS font-family)
    – when the Inter var font finishes downloading, the browser will apply it to the text, hence the “jump” you see due to small changes in the sizes and spacing between the fonts

    Solutions:

    – avoid using the custom font altogether, especially since it’s very similar to the default Helvetica-like fonts that don’t need to be downloaded – you can do that by removing the entries for the font from the style.css file

    – change the font-display: swap to font-display: auto in the style.css file around lines 260-274 (though this will probably cause GTMetrix and Google Insights to recommend using swap and will give a lower score for that)

    Hope this helps!

    Kind regards,
    Pawel

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @gene-stevo ,

    We haven’t heard from you for some time now, so it looks like you don’t need our assistance anymore.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Loading pages with form content causes main menu to “dance’ is closed to new replies.