-
I'm using Bootstrap at my theme but since 5.9.1, when global styles were moved up from the html bottom to its head, Bootstrap css is overriding my global styles because it loads after them. How to fix that, please? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hello, @catkit Global styles are loaded using default priority - 10. You can load Bootstrap using lower priority for the |
Beta Was this translation helpful? Give feedback.
-
Thanks, @Mamaduka!! That was easy! |
Beta Was this translation helpful? Give feedback.
-
Hi @Mamaduka , The issue returned after the most recent release (13.5.1). It seems that Global Styles are now loaded on Is there a solution for this? This issue also happens with other plugin's css. Shouldn't Global Styles load after them? Thanks! |
Beta Was this translation helpful? Give feedback.
Hello, @catkit
Global styles are loaded using default priority - 10. You can load Bootstrap using lower priority for the
wp_enqueue_scripts
hook, maybe 9 or 5.