Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Changing styles based on view mode View modes: 
User avatar
Member
Member
ekeys-accesstca - 7/6/2012 6:12:00 PM
   
Changing styles based on view mode
I am working on a site that contains a sliding div that is animated with jQuery. The div displays a title and, when hovered over, it slides out and a different div with detail information slides into its place.

My problem is that the text in both of the divs needs to be editable by editors in the design view. But, since one of the div is always hidden by default (as defined in jQuery/css), the editable text web part is not showing up on the design tab.

Is there a way I can control how the divs are styled based on the current view mode that the user is in? Such as force both divs' to ignore the site's stylesheet and change their css 'display' property to be 'block' only when in edit mode?

Any help/suggestions would be great. Thanks.

User avatar
Member
Member
ekeys-accesstca - 7/6/2012 7:19:46 PM
   
RE:Changing styles based on view mode
I found my answer on this post: http://devnet.kentico.com/Forums/f49/t12505/Apply-stylesheet-to-site-without-affecting-edit.aspx