CSS per page
-
Hey,
I have searched around but I came up with nothing. I was wondering if anyone knows how to set up a custom field that is called css or something and the value being a additional css file to add into the header. But have a default one if nothing is put in the custom field. Here is a example:1. I post something on my blog, but do not do a custom field for the css, this post will not have a custom css file in the header. When someone goes to that post, it has the theme css template (the current theme style.css) and a default additional css template that adds a set of default classes.
2. I post a page and fill in a field called css and then put the path to the additional css document in the value. When the viewer goes to that page, the page has the theme css template (the current theme style.css) and also another css template that adds a set of different classes (like header background img) instead of the default additional css template.
On the index page only the default theme css template and the default additional css template would load.
I hope this isn’t too complicated to do… I would do it if I understood php, but I don’t. ~_~. My blog is: https://www.bloonlabs.com. Tell me if this is possible. Thanks!
- The topic ‘CSS per page’ is closed to new replies.