Site logo

[Resolved] DOM Size Issue

Home Forums Support [Resolved] DOM Size Issue

Home Forums Support DOM Size Issue

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2551413
    Suman

    I am getting the following error on Google Pagespeed Insights:

    Avoid an excessive DOM size 3,709 elements

    How can I fix it?

    #2551675
    David
    Staff
    Customer Support

    Hi there,

    every element you add to a page, whether that be a paragraph, a heading, an image, a container, a column etc. will output HTML. Each of those are counted in your DOM Size.

    Unless you have plugins that are creating bloated HTML that can be replaced, then the only way to reduce that is to remove content from the page, or use some kind of ajax loading. Otherwise just ignore the Diagnostic ( its not an error ), it only becomes an issue if you have a lot of styles or interactive scripts on the page

    #2551760
    Suman

    I have changed to regular tables from the library to improve performance and hopefully get rid of the DOM issue.

    Now I am unable to center the top portion of the table.

    https://prnt.sc/6p1v7hU1TpoJ

    Can you please help me fix this?

    #2551780
    Suman

    By top portion I meant this section:

    https://prnt.sc/MRcr-ztopMUF

    #2551797
    Leo
    Staff
    Customer Support

    Have you figured it out?

    It’s centered from what I can see:
    https://www.screencast.com/t/1j5cvv9CIqQw

    #2551821
    Suman

    I managed to fix it. Thank you for your reply Leo.

    #2551843
    Leo
    Staff
    Customer Support

    No problem 🙂

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