Different CSS style sheet for Design mode and Live site mode

gourisankar padihary asked on March 26, 2015 16:12

Hi, I don't want to use the style sheet which is being used for Live site same for Design mode. By applying the same style sheet it makes Design mode almost unusable. Can I refer my stylesheet only for Livesite and not for Design mode?

Recent Answers

Brenden Kehren answered on March 26, 2015 18:20

If you're using the CSS Stylesheet webpart you can set the visibilty of it based on a macro

This macro could be set for the webpart containing the live site

{% ViewMode == "LiveSite" %}

And simply use the opposite ( != ) on another webpart for anything not live site.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.