Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Coda Slider + CMS Re: Coda Slider + CMS

#72086
pagelime
Member

Hi Carl,

I’m not sure how I missed this reply way back when – we’re usually super attentive to our google alerts :). I also have to configure my profile to send us emails when folks respond. Ooops.

You can have conditional CSS that only appears in the PageLime editor like this:
body.cms-page-editor-preview #yourelemntId

We basically add the class "cms-page-editor-preview" to the body while inside editor. We also have a JS variable you can use in your JavaScript so you can write conditional statements or disable animations while in PageLime:
window.isCmsPageEditorPreview

This variable will be set to true inside PageLime.

Shoot me an email to info [at] pagelime.com if you’re still having trouble. Though if you signed up for PageLime, I’m sure you’ve already had plenty of chats with Tom :). His welcome message and the fact he shows up in people’s Gmail chat usually mean that he’s always available.

Best,
Emil