Skip to content
Advertisement

WordPress wont load 2 CSS Files(can only load one)

i have a Issue, that my WordPress Site will only load 1 CSS File. I have 2 CSS Files: – My own Stylesheet – and the Bootstrap CSS File

I do import my JS File to, but this doesnt matter here, or does it? I have the following Code in my header.php File:

JavaScript

With this Code, only my Bootstrap File gets loaded, but when i change my Code to the Following(Comment the Bootstrap import):

JavaScript

my own Stylesheet is loading correctly, but the Bootstrap is not loading(cause its “commented” is this the right way to say in English?).

How can i load all 2 CSS Files correctly?

Advertisement

Answer

Add following code in your functions.php and check

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement