User-created stylesheets for the Options theme
Version 1.1+
With the release of version 1.1 of the theme, we have a built-in system to easily add new stylesheets to the theme. We can even share them without ever changing any of the other code.
Once you create a new style, you can offer it up for download to other users on the forum thread, Share your custom CSS. Or, you can start a new topic and create a cult following of your style (I encourage this sort of thing). If you think your style is just so phenomenal that it needs to be offered as part of the official download, then contact me.
How to create your own styles
To create a new stylesheet, you need a name for your custom style. For this example, we’ll call this style “Pimpin Options.”
Now, we need to create a folder named pimpin-options and drop it into our /styles folder. So, the path should look like this: /options/styles/pimpin-options.
Next, we need to name our stylesheet. You need to give it the same name as your folder. Our folder’s name is pimpin-options, so we need to name our stylesheet pimpin-options.css. This file goes into the folder you created.
I generally create an images folder within that folder, but you can use whatever convention you want. Just be sure to call your images appropriately in your CSS.
In the top of the pimpin-options file, add these lines:
/*
Theme Name: Pimpin Options
Theme URI: http://yoursite.com
Description: Describe the style.
Author: Your Name
Author URI: http://yoursite.com
Version: 1.0
*/
The biggest thing you need to do is get the naming convention down because it is vital to making the stylesheet uploads work.
Now, all a user would have to do is drop the folder you created into their styles directory and choose the style from their theme settings.