Support » Plugin: Elementor Website Builder » Stylesheet Precedence

  • Resolved sgumby

    (@sgumby)


    Why do Elementor stylesheets load AFTER the theme/child theme stylesheets?

    Ex.
    /wp-content/plugins/elementor/assets/css/frontend-lite.min.css?ver=2.5.0.1650044790′
    /wp-content/uploads/elementor/css/post-22.css?ver=2.5.0.1650044790′ type=’text/css’
    /wp-content/uploads/elementor/css/global.css?ver=2.5.0.1650044790′ type=’text/css’
    /wp-content/uploads/elementor/css/post-2.css?ver=2.5.0.1650044790′ type=’text/css’

    I realize some of these are from the template but they should load BEFORE the theme/child.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Elementor Team

    (@ozyeger)

    Hi @sgumby

    Can you send me your site URL?

    Thread Starter sgumby

    (@sgumby)

    Its not public. I was able to change the stylesheet in functions to add_action( ‘wp_enqueue_scripts’, ‘child_theme_configurator_css’, 11 ); But the point is this shouldn’t be needed.

    Plugin Support Elementor Team

    (@ozyeger)

    Hi @sgumby

    Please follow this troubleshooting method that I made:

    Please make sure that all of your Plug-ins and Theme are updated.
    Sometimes it isn’t obvious that there is a plugin update available. Go to WordPress Dashboard > Updates and click the Check Again button to be sure.

    Please also regenerate the CSS via Elementor > Tools > Regenerate CSS on your WordPress Dashboard,

    then make sure that you are clear:
    your WordPress cache (your WordPress plugin if you have one), your server cache (if
    you have one. In this case, you can contact your hosting provider).

    Please deactivate all your plugins besides Elementor and see if it helps. If it solves the issue, reactivate them one by one to find the culprit. If it didn’t help, switch your theme (temporarily) and see if it makes any difference.

    Go to WP dashboard > Elementor > Tools > Version Control.
    In the Beta Tester field, change the value to Disabled.
    Click Save Changes.
    Go to WP dashboard > Elementor > Settings > Experiments.
    Change all of the experiments to Inactive.
    Click Save Changes.
    Refresh the user’s website.
    Is the issue still appearing?
    YES – The issue is not related to an unstable Elementor version.
    NO – The issue is related to an unstable Elementor version.

    Thread Starter sgumby

    (@sgumby)

    I’m tired of the immediate assumption by support that I don’t know what I’m doing.

    This is 100% an issue of you setting css priority incorrectly. If I have to set a child theme css priority as 11 to make sure its loaded last that is a mistake. Please take my suggestion and find a better way.

    avipushentertainment

    (@avipushentertainment)

    Hi Author,

    I am unable to use background overlay. Whenever trying to upload this on the site. It’s not working for me. Also, the CSS changes are not loading on the pages.

    I am using the default theme and using WordPress v5.8.1. Please help with this.

    Thanks!
    Avinash

    Plugin Support Elementor Team

    (@lianakap)

    Hi @sgumby ,

    did you try the troubleshooting steps? it should help with this issue, please try it and let me know how it goes.

    @avipushentertainment Please open a new topic for your issue so we could assist you better.

    Thread Starter sgumby

    (@sgumby)

    I did not try them because they wouldn’t have solved the problem if your code is loading the css in the wrong order. I don’t have time to dig through your code to prove that its loading in the wrong order.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Stylesheet Precedence’ is closed to new replies.