Skip to content

How to enqueue theme styles before global? #39023

Answered by Mamaduka
catkit asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by catkit
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@aristath
Comment options

@catkit
Comment options

@aristath
Comment options

@catkit
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants