Where did you get this error message?
I checked the website https://pagespeed.web.dev/. I don’t understand what DOM is.
DOM refers to the HTML elements used by the page. So everything that can be seen in the source code view of HTML elements counts to it.
Depending on the theme and PageBuilder used, the DOM can take on large dimensions. In your case it seems to be primarily related to your theme as I can’t see any PageBuilder.
If you want to fix this message from PageSpeed, your only chance is to see if your theme offers options to do this or if you can create your content in a different, easier way. The support of your theme might be able to help.
There is no way to reduce the DOM with any optimization plugin. This would break the styling and functionality of the plugin.
Oh! That sounds challenging as I truly don’t have much knowledge about coding, HTML, or PHP. Thank you for addressing this issue. Besides, could I ask whether I should hire a programmer to create a custom theme, would that be more optimized?
Custom themes always sound advantageous, but they have one huge disadvantage: you have to keep them up-to-date and compatible with both WordPress and hosting yourself. If you hire someone to do this, they should be able to help you on a regular basis. In my experience, not many do that and it could also be expensive for you.
It might make more sense to look around for a theme that says it would produce narrow code. For example, take a look at the current standard theme TwentyTwentyThree.
Regardless, thank you. I will look for the lightest and most optimized theme.