kjhobin
Member
Posted 3 years ago #
Hey,
I'm using a css site theme and matching wordpress theme from http://www.freecsstemplates.org. I would like to only have to maintain one style file. The style files are identical.
Does any one know how to modify a theme so that it uses a style sheet hosted else ware than inside the theme file?
Lets call the main site http://www.example.com, and its main style sheat is at http://www.example.com/style.css (the one I would like to use everywhere). The blog would be located at blog.example.com
Thanks in advance!
If they are both on the same domain you should be able to simply import the main stylesheet into styles.css
Backup your styles.css then remove everything except the information at the top, between the /* */ tags.
Add @import "URL";
with URL being the path to your main css.
kjhobin
Member
Posted 3 years ago #
ok, thanks!
I was way off base trying to find the reference to the style file and redirect it.
kjhobin
Member
Posted 3 years ago #
Yay it works, mostly. Still need to tweek a few things.
Thanks for your help!