[wp-hackers] Share CSS with parent site

Glenn Ansley glenn at glennansley.com
Fri Nov 21 16:48:15 GMT 2008


There are a couple of ways to do this. The easiest would probably be to just
delete all the style information in your styles.css (leave the theme info in
the comments) and then use the @import method to bring in your style.css
file.

On Fri, Nov 21, 2008 at 11:36 AM, Dan Gayle <dangayle at gmail.com> wrote:

> I'm running an installation where the blog is integrated into an existing
> website. The blog sits outside the root directory in /blog/
>
> We matched the styles of the parent site with the styles in our theme, but
> we would like to take it a step further. It sucks having to maintain two
> identical sets of stylesheets.
>
> How is it possible to share one single css file between both the parent
> site and the wordpress install?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list