Link to home
Start Free TrialLog in
Avatar of erzoolander
erzoolander

asked on

Wordpress themes CSS?

Where does Wordpress store the information on what CSS files ought be called for a theme?
Avatar of Ryan Kilimnik
Ryan Kilimnik
Flag of United States of America image

I may not be understanding, but typically the wordpress css file is called style.css and is found in the root folder of the theme.
Avatar of erzoolander
erzoolander

ASKER

I've inherited a wordpress site - that has a number of ancillary CSS files apart from style.css.  Let's call them

whatever1.css
whatever2.css
whatever3.css

I don't see anything in the header.php document outlining them - in other words - there's no

<link rel="stylesheet" href="whatever1.css">

for the various style sheets.  I'm assuming they're coming from:

<?php wp_head(); ?>

?

and if so - where are those files enumerated out for wp_head() to know to output them?

Does that make sense?
For further elaboration - I'm more of a drupal guy.

In drupal - there's an info file for each theme that outlines the style files that are associated with the theme.  You enumerate out:

/path/to/style.css
/path/to/style2.css
/path/to/style3.css

inside of that info file.  Doesn't Wordpress have something similar?
ASKER CERTIFIED SOLUTION
Avatar of Ryan Kilimnik
Ryan Kilimnik
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The style.css file in the root of the theme folder can potentially import other css files too.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial