Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: style vs screen CSS


Xevo
Participant

@xevo

Every wordpress theme needs at least a style.css file, bloginfo(‘stylesheet_url’); tells the theme to get it’s style.css file. If you want another one, change the style.css or just add another stylesheet underneath your style.css sheet.

If your totally new to WordPress, try downloading a theme from the wordpress theme directory on wordpress.org and see how it’s made. Maybe then you’ll have a better understanding on how to do things in wordpress, like calling multiple stylesheets.

Here’s an example.

<link href="<?php bloginfo('template_directory'); ?>/css/style2.css" rel="stylesheet" type="text/css" />

Skip to toolbar