attaching CSS located in own folder
-
Hi!
I’m pretty new to WordPress and to PHP and I need help.
I want to attach my css and js to the header which are put in their own folder,but it won’t seem to work when I try different codes. It works only when the css is placed in the root,but I want to put them in their own folder to keep things organized.Here are some codes I used:
<style type=”text/css”>
@import url(“css/style.css”)
@import url(“css/lightbox.css”)
</style>Here’s another code I tried:
`<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>/css/style.com” type=”text/css” media=”screen” />
<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>/css/lightbox.com” type=”text/css” media=”screen” />I’m really hoping someone could help me with this. Thanks guys!:)
- The topic ‘attaching CSS located in own folder’ is closed to new replies.