Support » Themes and Templates » Right place for the entire CSS in my blog?

  • Hi there,

    I’m doing some test in my local server with wordpress 2.7.
    This must be a silly question but I’m doing my blog into my website, so it’s going to look like part of the website with the same style base. So my doubt is if I should copy the whole css files from the website and pasted in the path

    /wp-content/themes/myowntheme/

    or could I use the same files and just code something like

    @import url("../../../../styles/base.css");

    in the
    /wp-content/themes/myowntheme/style.css ?

    Hope I’m meking any sense in the way I ask & someone could point me in the right direction 🙂

    Cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • if it is in the peer directory, /base.css will suffice.

    Hmmm, thanks for answer, let me see if I understood, the file base.css is in the path:

    mysite.com/estilos/base.css

    and my blog style is in:

    mysite.com/blog/wp-content/themes/myowntheme/style.css

    In my local server works good. But I’m not sure if it’s correct that way when I publish it. I’ve seen some others wordpress blogs published but they prefer to repeat their css code and place it in the blog/wp-content/themes/myowntheme/ directory. Is that what you mean by peer directory?

    Regards

    oh, whoops.. apparently my reading comprehension skills need work…

    the safest thing to do is point to the complete url.. as in http: //blahblah.. that takes some of the guess work out of it for browsers.

    OK, thanks for your answer drewactual.
    So there aren’t any kind of restrictions on where we can place our style in wordpress themes. Good.

    Cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Right place for the entire CSS in my blog?’ is closed to new replies.