• Resolved dayleedreamer

    (@dayleedreamer)


    I’ve tried to find the solution for hours but can’t seem to find it anywhere. My page (not using elementor) is picking up the css from an .elementor-kit-7. I’m not sure why it’s picking up the style from an elementor kit when I’m not using elementor for that page.

    It’s applying an old font which I don’t use any more but I can’t seem to change it any where. As far as I can tell, it’s not on my themes file, it’s not on elementor.

    Any ideas where to locate it so that I can change or delete it?

    Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Milos

    (@miloss84)

    Hi there,

    Thank you for contacting us.

    You’re seeing styles from .elementor-kit-7 because Elementor’s Global Styles are applied site-wide, even on pages not explicitly built with Elementor. These styles come from the “Site Settings” in Elementor and are tied to a post type called elementor_library (also known as the “kit”).

    If you’re not using Elementor on any pages and want to completely prevent these styles from loading, you can add the following code to your functions.php file or a site-specific plugin:


    add_action( ‘wp_enqueue_scripts’, ‘remove_elementor_global_styles’, 20 );
    function remove_elementor_global_styles() {
    wp_dequeue_style( ‘elementor-global’ );
    }
    This will stop the global styles from being enqueued.

    Kind regards,

    Thread Starter dayleedreamer

    (@dayleedreamer)

    Thanks for your help. I tried applying the script on WPCode and I got this error: We encountered an error activating your snippet, please check the syntax and try again. Error message: Undefined constant ‘wp_enqueue_scripts’

    But if possible, I’d rather locate the site settings mentioned where I can change the font, size, etc. rather than applying code to block it. It’s bizarre to me that it’s sitting somewhere but I can’t seem to locate it.

    Plugin Support Milos

    (@miloss84)

    Hi there,

    You can check how to configure the site settings here:
    https://elementor.com/help/site-settings/

    Looking forward to hearing from you.

    Kind regards,

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Elementor Kit’ is closed to new replies.