WordPress load stylesheet last at the bottom of the page below all other stylesheets

I have some spreadsheets that load at the bottom of the page for a couple of plugins (e.g. Ultimate Member and Open User Map). I have a child theme stylesheet, but some of the styles in the plugins are already set to important, so I am trying to over-ride them but since they are marked important, my changes in my stylesheet do not work for those elements. How can I load an additional stylesheet below them? Thanks

Comment (1)

Jese Leos

September 18, 2024

Verified user

You can use a higher priority like below code when you enqueue your stylesheets add_action( 'wp_enqueue_scripts', array(&$this, 'theme_styles'), 99 ); Run code snippetExpand snippet Note : Use higher number in priority to load at last

You’ll be in good company