Skip to content

⛔ 🧩 CSS assets not loaded when elements exist only in footer (JEG Kit) with cache enabled #35248

@HubITgr

Description

@HubITgr

Description

When cache is enabled, Elementor does not load certain CSS assets (e.g. shapes.css) if the related element exists only in the footer and not in the main page content.

In this case, the footer is rendered via JEG Elementor Kit.

As a result, elements such as shape dividers appear unstyled on the frontend.

Image Image Image Image Image Image Image

Steps to reproduce

  1. Install WordPress
  2. Install and activate Elementor
  3. Install and activate JEG Elementor Kit
  4. Create a footer with JEG Kit that includes a shape divider
  5. Create a page with Elementor
  6. Do not add any shape divider or similar element in the main page content
  7. Enable Elementor cache (and/or page cache)
  8. Leave the page cached for at least 24 hours
  9. Visit the page on the frontend

Expected behavior

Elementor should load all required CSS assets for elements that are present in the final rendered page, regardless of whether those elements exist in the main content or in header/footer templates.

Caching should not prevent required styles from being loaded for elements that are rendered on the page.

Elementor System Info

Click to reveal
== Server Environment ==
	Operating System: Linux
	Software: Apache
	MySQL version: (Ubuntu) v8.0.45
	PHP Version: 8.4.18
	PHP Memory Limit: 256M
	PHP Max Input Vars: 1000
	PHP Max Post Size: 8M
	GD Installed: Yes
	ZIP Installed: Yes
	Write Permissions: All right
	Elementor Library: Connected

== WordPress Environment ==
	Version: 6.9.4
	Site URL: [redacted]
	Home URL: [redacted]
	WP Multisite: No
	Max Upload Size: 2 MB
	Memory limit: 256M
	Max Memory limit: 256M
	Permalink Structure: /%postname%/
	Language: el
	Timezone: America/Grenada
	Debug Mode: Inactive

== Theme ==
	Name: Hello Biz
	Version: 1.2.1
	Author: Elementor Team
	Child Theme: No

== User ==
	Role: administrator
	WP Profile lang: en-US
	User Agent: 

== Active Plugins ==
	Code Snippets
		Version: 3.9.5
		Author: Code Snippets Pro

	Complianz - Terms and Conditions
		Version: 1.2.8
		Author: Really Simple Plugins

	Complianz | GDPR/CCPA Cookie Consent
		Version: 7.4.4.2
		Author: Complianz

	Elementor
		Version: 3.35.7
		Author: Elementor.com

	ElementsKit Lite
		Version: 3.8.1
		Author: Wpmet

	Events Manager
		Version: 7.2.3.1
		Author: Pixelite

	Jeg Kit for Elementor
		Version: 3.0.3
		Author: Jegtheme

	Loco Translate
		Version: 2.8.2
		Author: Tim Whitlock

	MetForm
		Version: 4.1.3
		Author: Wpmet

	Polylang
		Version: 3.7.8
		Author: WP SYNTEX

	Really Simple Security
		Version: 9.5.8
		Author: Really Simple Security

	RT Pulse
		Version: 1.0.2
		Author: Hubit Team

	Template Kit Import
		Version: 1.0.16
		Author: Envato

	Yoast SEO
		Version: 27.1.1
		Author: Team Yoast


== Elements Usage ==
	
	wp-post : 8
		button : 1
		container : 29
		divider : 1
		heading : 15
		icon-list : 1
		image : 9
		image-box : 1
		jkit_nav_menu : 1
		social-icons : 1
		text-editor : 9
	wp-page : 11
		button : 9
		container : 35
		counter : 3
		google_maps : 2
		heading : 29
		icon-box : 11
		icon-list : 4
		image : 22
		image-box : 6
		jkit_gallery : 1
		jkit_mailchimp : 2
		shortcode : 4
		testimonial : 1
		text-editor : 26


== Settings ==
	
	cpt_support: post, page, elementskit_content, elementskit_template, event, location, jkit-header, jkit-footer, jkit-template
	disable_color_schemes: yes
	disable_typography_schemes: yes
	allow_tracking: yes
	unfiltered_files_upload: 1
	font_display: swap
	disabled_elements: elementskit-image-accordion, elementskit-countdown-timer, elementskit-image-comparison, elementskit-lottie, elementskit-progressbar, elementskit-post-grid, elementskit-post-tab, elementskit-mail-chimp, elementskit-piechart, elementskit-contact-form7, elementskit-business-hours, elementskit-drop-caps, elementskit-social-share, elementskit-dual-button, elementskit-caldera-forms, elementskit-we-forms, elementskit-wp-forms, elementskit-ninja-forms, elementskit-tablepress, elementskit-fluent-forms, elementskit-back-to-top


== Elementor Experiments ==
	Inline Font Icons: Active by default
	Additional Custom Breakpoints: Active by default
	Container: Active
	Optimized Markup: Active by default
	Pro Free Trial Popup: Active by default
	Nested Elements: Active
	Pages Panel: Inactive by default
	Elementor Home Screen: Active by default
	Atomic Widgets: Active
	V4 Indications Popover: Inactive by default
	Enforce atomic widgets capabilities: Active by default
	Editor MCP for atomic widgets: Active by default
	Backward compatibility migrations: Active by default
	Global Classes: Active
	Enforce global classes capabilities: Active by default
	Variables: Active
	Variables Manager: Active by default
	Cloud Library: Active
	Editor v4 (Opt In Page): Active by default
	Editor V4: Active
	Components: Active
	Interactions: Active by default
	Editor one: Active by default
	Import/Export Customization: Active by default
	Elementor Editor Events: Active by default
	In-Editor Feedback: Inactive by default


== Log ==
	
JS: showing 15 of 15JS: 2026-01-07 10:59:15 [error X 31][wp-content/plugins/elementor/assets/js/common-modules.min.js?ver=3.34.0:1:102715] C.startsWith is not a function 
JS: 2026-01-07 11:02:49 [error X 2][wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.34.0:2:1249846] Cannot read properties of undefined (reading 'getBoundingClientRect') 
JS: 2026-01-07 11:52:11 [error X 45][wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.34.0:2:929191] Failed to execute 'querySelector' on 'Document': '#' is not a valid selector. 
JS: 2026-01-07 12:56:55 [error X 4][wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.34.0:2:1013878] Cannot read properties of undefined (reading 'localized') 
JS: 2026-01-09 12:04:05 [error X 30][wp-content/plugins/elementor/assets/js/import-export-customization-admin.min.js?ver=3.34.0:2:31723] elementorAdmin is not defined 
JS: 2026-01-09 12:47:07 [error X 1][wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.34.0:2:1094265] Cannot read properties of undefined (reading 'split') 
JS: 2026-01-16 11:28:24 [error X 7][wp-admin/load-scripts.php?c=0&loadchunk_0=react,react-dom,wp-escape-html,wp-element,jquery-ui-draggable&ver=6.9:20:91572] Cannot read properties of undefined (reading 'toString') 
JS: 2026-01-19 12:47:48 [error X 1][wp-content/plugins/elementor/assets/js/frontend.min.js?ver=3.34.1:1:25843] elementorFrontendConfig is not defined 
JS: 2026-01-28 15:07:41 [error X 1][wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.34.3:2:558632] elementorFrontend.elements.window.jQuery is not a function 
JS: 2026-02-01 20:54:02 [error X 9][wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.34.3:2:536516] Cannot read properties of undefined (reading 'isDesignable') 
JS: 2026-02-04 13:27:55 [error X 1][wp-admin/load-scripts.php?c=0&loadchunk_0=react,react-dom,wp-escape-html,wp-element,jquery-ui-draggable&ver=6.9.1:20:23733] Cannot read properties of undefined (reading 'constructor') 
JS: 2026-02-05 21:16:44 [error X 2][wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.34.3:2:412352] Cannot convert undefined or null to object 
JS: 2026-03-13 08:58:57 [error X 3][wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.35.7:2:897826] Cannot read properties of undefined (reading 'activate') 
JS: 2026-03-23 07:39:13 [error X 1][wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.35.7:2:1256409] Cannot read properties of null (reading 'id') 
JS: 2026-03-23 09:32:32 [error X 1][wp-content/plugins/elementor/assets/js/admin.min.js?ver=3.35.7:2:45739] r.startsWith is not a function 

PHP: showing 6 of 6PHP: 2026-01-09 12:06:43 [warning X 3][wp-content/plugins/elementor/modules/ai/connect/ai.php::794] Undefined array key "mega-menu" [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2026-01-09 12:06:53 [warning X 56][wp-content/plugins/elementor/includes/managers/image.php::113] Trying to access array offset on false [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2026-01-31 19:09:41 [warning X 201][wp-content/plugins/elementor/includes/db.php::268] foreach() argument must be of type array|object, string given [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2026-02-01 18:46:30 [warning X 1][wp-content/plugins/elementor/modules/history/revisions-manager.php::363] Undefined array key "editor_post_id" [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2026-02-03 08:42:46 [warning X 2][wp-content/plugins/elementor/modules/pro-free-trial-popup/module.php::118] Trying to access array offset on null [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2026-03-22 06:15:17 [notice X 1][wp-content/plugins/elementor/includes/api.php::176] Automatic conversion of false to array is deprecated [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]

Log: showing 20 of 202026-01-14 23:52:58 [info] elementor::elementor_updater Started 
2026-01-14 23:52:58 [info] Elementor/Upgrades - _on_each_version Start  
2026-01-14 23:52:58 [info] Elementor/Upgrades - _on_each_version Finished 
2026-01-14 23:52:58 [info] Elementor data updater process has been completed. [array (
  'plugin' => 'Elementor',
  'from' => '3.34.0',
  'to' => '3.34.1',
)]
2026-01-14 23:52:58 [info] Elementor data updater process has been queued. [array (
  'plugin' => 'Elementor',
  'from' => '3.34.0',
  'to' => '3.34.1',
)]
2026-01-21 09:12:29 [info] elementor::elementor_updater Started 
2026-01-21 09:12:29 [info] Elementor/Upgrades - _on_each_version Start  
2026-01-21 09:12:29 [info] Elementor/Upgrades - _on_each_version Finished 
2026-01-21 09:12:29 [info] Elementor data updater process has been completed. [array (
  'plugin' => 'Elementor',
  'from' => '3.34.1',
  'to' => '3.34.2',
)]
2026-01-21 09:12:29 [info] Elementor data updater process has been queued. [array (
  'plugin' => 'Elementor',
  'from' => '3.34.1',
  'to' => '3.34.2',
)]
2026-01-26 17:55:31 [info] elementor::elementor_updater Started 
2026-01-26 17:55:31 [info] Elementor/Upgrades - _on_each_version Start  
2026-01-26 17:55:31 [info] Elementor/Upgrades - _on_each_version Finished 
2026-01-26 17:55:31 [info] Elementor data updater process has been completed. [array (
  'plugin' => 'Elementor',
  'from' => '3.34.2',
  'to' => '3.34.3',
)]
2026-01-26 17:55:31 [info] Elementor data updater process has been queued. [array (
  'plugin' => 'Elementor',
  'from' => '3.34.2',
  'to' => '3.34.3',
)]
2026-03-13 04:03:15 [info] Elementor data updater process has been queued. [array (
  'plugin' => 'Elementor',
  'from' => '3.34.3',
  'to' => '3.35.7',
)]
2026-03-13 04:03:19 [info] elementor::elementor_updater Started 
2026-03-13 04:03:19 [info] Elementor/Upgrades - _on_each_version Start  
2026-03-13 04:03:21 [info] Elementor/Upgrades - _on_each_version Finished 
2026-03-13 04:03:21 [info] Elementor data updater process has been completed. [array (
  'plugin' => 'Elementor',
  'from' => '3.34.3',
  'to' => '3.35.7',
)]



== Elementor - Compatibility Tag ==
Jeg Kit for Elementor: Compatibility not specified

Agreement

  • I confirm I have read and followed all the guidelines and instructions outlined in the Elementor Bug Report form.
  • I agree that my issue may be closed without further action if it doesn't meet all the requirements outlined in the Elementor Bug Report form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibility/3rd-partyIndicates a compatibility problem with a 3rd-party plugin or theme.compatibility/cacheIndicates a compatibility problem with any type of cache and performance optimization.document/assetsReferences any asset (CSS, JS) generated for any document - Posts, Pages, Popups, Templates, etc.mod*[Temp.] For internal use only.mod/b*[Temp.] For internal use only.mod/x*[Temp.] For internal use only.request/supportIndicates when an user requests Support through GitHub instead of reaching out to Elementor Support.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions