0

We have 4 SharePoint group..

We have created 4 .spcolor files. Is it possible to apply theme to sp site based on logged in user group? Or composed look?

I am worried to set composed look as it will effect entire site look for all users. Any solution other then changing css at runtime?

1

Better option would be to generate respective .CSS files & dynamically load them using some user control in master page. By doing this you do not have to worry about the look effecting other users as it is at browser level (per user session)

If you go with .spcolor, I guess you have to set it to Sp site property & update the site object which obviously will effect all users.

  • But for other users the masterpage user control will put their own theme. Isnt it? – variable Mar 21 '14 at 17:23
  • that is what you wanted right. Example SPGrp1 - RED, SPGrp2 - GREEN, SPGrp3 - YELLOW, SPGrp4 - BLUE. – Anand Mar 21 '14 at 18:01
  • Yes.. My question was wrt ur para 2 – variable Mar 21 '14 at 18:21
  • i was telling (intention was to provide the drawback of the approach too) you to avoid para 2 as it will effect all. go with para 1 (.css) – Anand Mar 21 '14 at 18:24
  • Does the css get effected after page load? – variable Mar 21 '14 at 18:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.