{"id":105961,"date":"2023-04-07T17:51:36","date_gmt":"2023-04-07T12:21:36","guid":{"rendered":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/?post_type=documents&amp;p=105961"},"modified":"2023-04-07T17:51:36","modified_gmt":"2023-04-07T12:21:36","slug":"exclude-content-from-preloader-in-elementor","status":"publish","type":"documents","link":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/docs\/exclude-content-from-preloader-in-elementor\/","title":{"rendered":"How to Exclude a Content From a Preloader in Elementor?"},"content":{"rendered":"\n<p>Do you want to Exclude some Content from a Preloader in your Elementor website? Preloaders are a great way to improve user experience on your website, but you may want to exclude certain content from the preloader animation. For example, you may have a section on your website that doesn&#8217;t require much loading time, and you want to exclude it from the preloader animation to avoid unnecessary delays.<\/p>\n\n\n\n<p>With the Preloader widget from The Plus Addons for Elementor you can easily exclude some content from the page loading animation.<\/p>\n\n\n\n<p><em>To check the complete feature overview documentation of The Plus Addons for Elementor Preloader widget, <a href=\"\/docs\/preloader-elementor-widget-settings-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">click here<\/a>.<\/em><\/p>\n\n\n\n<p><strong><em>Requirement&nbsp; &#8211; This widget is a part of The Plus Addons for Elementor, make sure it&#8217;s installed &amp; activated to enjoy all its powers.<\/em><\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-a89b3969 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-75 is-style-fill\"><a class=\"wp-block-button__link has-nxt-global-color-8-color has-nxt-global-color-1-background-color has-text-color has-background wp-element-button\" href=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/widgets\/pre-loader?utm_source=tpae&amp;utm_medium=docs&amp;utm_campaign=text\" style=\"border-radius:5px\" target=\"_blank\" rel=\"noreferrer noopener\">LIVE WIDGET LINK<\/a><\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>To do this, add the Preloader widget on the page or template.&nbsp;<\/p>\n\n\n\n<p>After you\u2019ve set your preloader in the <strong>Content<\/strong> tab, go to <strong>Load First<\/strong> tab and turn on the <strong>Exclude Content<\/strong> toggle.<\/p>\n\n\n\n<p>In the <strong>Exclude<\/strong> dropdown, you\u2019ll find two options &#8211;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"333\" height=\"570\" src=\"https:\/\/etemplates.wdesignkit.com\/wp-content\/uploads\/sites\/55\/2023\/04\/preloader-exclude-content.gif\" alt=\"preloader exclude content\" class=\"wp-image-105962\"\/><\/figure>\n\n\n\n<p><strong>Header<\/strong> &#8211; This will exclude the site header from the preloader, and it will load first.<\/p>\n\n\n\n<p><strong>Custom<\/strong> &#8211; With this option, you can exclude content by their CSS class. Use the browser<a href=\"https:\/\/blog.hubspot.com\/website\/how-to-inspect\" target=\"_blank\" rel=\"noreferrer noopener\"> Inspect Element to find the class name<\/a>.<\/p>\n\n\n\n<p>Once you have the class name add it in the <strong>Class<\/strong> field with a <strong>.<\/strong> (dot) in front, like this &#8211;&nbsp;<\/p>\n\n\n\n<p><strong>.site-footer<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em>Note: Although you can add multiple classes, you should target one element only for a consistent result.<\/em><\/p>\n<\/blockquote>\n\n\n\n<p><\/p>\n\n\n\n<p>Then from the <strong>Position<\/strong> dropdown, you can place the element <strong>Top<\/strong> or <strong>Bottom<\/strong> of the page while loading.<\/p>\n\n\n\n<p>Finally, in the <strong>Z-Index<\/strong> field, you should add a high z-index value so that the element always remains above the loading animation.&nbsp;<\/p>\n\n\n\n<p>This is how easily you can exclude content from the loading animation, so they always load first. Like in the example below, the header loads first while the page loads.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1920\" height=\"915\" src=\"https:\/\/etemplates.wdesignkit.com\/wp-content\/uploads\/sites\/55\/2023\/04\/preloader-exclude-content-demo.gif\" alt=\"preloader exclude content demo\" class=\"wp-image-105964\"\/><\/figure>\n\n\n\n<p>Also, check <a href=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/docs\/multiple-preloaders-animations-in-elementor\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Use Multiple Preloaders on a Page in Elementor<\/a>.<\/p>\n","protected":false},"author":16,"featured_media":105963,"parent":0,"comment_status":"open","ping_status":"open","template":"","format":"standard","docs":[527,559],"class_list":["post-105961","documents","type-documents","status-publish","format-standard","has-post-thumbnail","hentry","docs-plus-widgets","docs-preloader"],"acf":[],"_links":{"self":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/documents\/105961","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/documents"}],"about":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/types\/documents"}],"author":[{"embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/comments?post=105961"}],"version-history":[{"count":0,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/documents\/105961\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/media\/105963"}],"wp:attachment":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/media?parent=105961"}],"wp:term":[{"taxonomy":"docs","embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/docs?post=105961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}