Community Forums › Forums › Archived Forums › Design Tips and Tricks › Allow multisite users to select different style.css
Tagged: css, csszengarden, options, stylesheet
- This topic has 3 replies, 3 voices, and was last updated 11 years ago by TonyP.
-
AuthorPosts
-
December 1, 2013 at 3:51 am #76403TedMember
I'm trying to figure out a way to allow users on a multisite to switch style sheets, rather than switching themes. I'm thinking that Brian Gardners "Load a Custom Stylesheet" might help, but I'm kind of a newbie so not sure how to implement it, or if it's even what I need.
My rationing for this is to have one theme for all the sites on my network, so all blogs will have a consistent set of features but able to change to a different style with a single click, sort of like CSS Zen Garden, except it will be the blog admin changing the site rather than visitors changing their view. I hope that makes sense.
Any ideas are greatly appreciated.
EDIT: Oops, apparently I can't insert urls. gist.github.com/bgardner/4380638
December 1, 2013 at 9:06 am #76426nutsandboltsMemberYou might look into adding other color styles to the existing stylesheet so they can be selected from the Genesis theme settings. Many child themes have color options like blue, red, orange, etc. available in a dropdown, and all the changes are contained in the single style.css. It's the same principle but a little easier to implement (in my opinion, anyway).
Another option would be to install a custom CSS plugin to allow each user on the network to customize their theme without affecting the theme itself - I have a multisite install in the works and that was the only solution I could find to allow people to make changes only on their own sites.
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+December 1, 2013 at 10:54 am #76446TedMemberThanks Andrea,
The color options won't work because I plan to use one theme for all blogs, so I will have to provide a lot of different styles to choose from, and keep adding new styles over time. But I do like the idea of a custom css plugin... didn't think of that. Is there one that you would recommend?
I'll keep working on the style selector as I have some ideas that might work. Maybe a combination, users can select a style and then some option for custom css? Well... wish me luck. 🙂
January 12, 2014 at 7:13 pm #84871TonyPParticipantAny developments on this?
I have successfully been using Nick's Style Select plugin on 27 sub-blogs on the same domain, each with a different CSS (Lifestyle 1).
BUT, I am currently in the throes of upgrading to Lifestyle Pro, and to my horror the plug-in, although showing the selection box on the Genesis themes setting page, and allowing me to choose my alternative style sheet which is properly listed, seemingly fails to save the settings and defaults to style.css.
As yet, no solution suggested in the WordPress Support Forum though. The plugin was very convenient, but is there another way to provide alternative css choices, I wonder?
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.