tim@24medium.com
Member
Posted 1 year ago #
Hi, I am new to linking to css styles.......so here is what i am tying to do. I have 2 css styles. first one stlye.css second one style1.css. I want the static homepage of my wordpress site to be linked to style1.css, and then i want to have my blog section to be link to style.css.
Thanks,
Tim
neononcon
Member
Posted 8 months ago #
Wordpress is really great but this has to be one of the worse forums ever =P barely anything gets resolved.
Is there a way to have multiple stylesheets called from the header if there are more than one templates?
Is it something here that needs changed?
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
neononcon
Member
Posted 8 months ago #
Ok so I found a solution, not sure if it is the best but here is goes for the rest of the WP-World.
I put the new stylesheet ("stylesheet2.css") in the theme folder with the old stylesheet. And in the new template header I changed:
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
To this:
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/stylesheet2.css" type="text/css" media="screen" />
Thanks