0

I have written

<link media="all" type="text/css"
href="www.nysci.org.php53-14.ord1-1.websitetestlink.com/wp-content/themes/nysci/custom.css"
rel="stylesheet">

in my header but it is not loading css

can any body please give me a solution? url is http://www.nysci.org.php53-14.ord1-1.websitetestlink.com/

1
  • The URL u provided does not have the css in the header Commented Jan 4, 2014 at 11:15

3 Answers 3

1

change your code

from this

  href="www.nysci.org.php53-14.ord1-1.websitetestlink.com/wp-content/themes/nysci/custom.css"

to

 href="http://www.nysci.org.php53-14.ord1-1.websitetestlink.com/wp-content/themes/nysci/custom.css"
Sign up to request clarification or add additional context in comments.

Comments

0

Try to www.nysci.org.php53-14.ord1-1.websitetestlink.com/wp-content/themes/nysci/custom.css, because in your given URL it it takes http://www.nysci.org.php53-14.ord1-1.websitetestlink.com/www.nysci.org.php53-14.ord1-1.websitetestlink.com/wp-content/themes/nysci/custom.css

Comments

0

The issue is that your CSS file is getting a 404 HTTP error. So you need to change the link from

href="www.nysci.org.php53-14.ord1-1.websitetestlink.com/wp-content/
themes/nysci/custom.css"

to this:

href="//www.nysci.org.php53-14.ord1-1.websitetestlink.com/wp-content/
themes/nysci/custom.css"

When you have the initial link, you will see that the resource file is empty. But once you add // and then open the file, you will see the styling tech in the Inspector's Style tab.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.