Try our conversational search powered by Generative AI!

Change CSS property of textarea in Visitor Group edit mode

Vote:
 

We have used default Visitor Group in our application.

In edit mode, there is a textarea which can have multiple string values where each string value is on new line. As a result of this, the size of the textarea is increasing based on the number of values and it is looking distorted.

We need to apply custom css to the textarea so that we can aaply fixed height to the textarea and also set scrolling to it.

Is there any way to do it?

Thanks!

#185311
Nov 15, 2017 10:17
Vote:
 

You can load your own CSS file to Edit mode like this.

<module>
<clientResources>
<add name="epi-cms.widgets.base"
path="Styles/mystyles.css"
resourceType="Style"/>
</clientResources>
</module>
#185460
Nov 21, 2017 8:34
Vote:
 

Hi Johan,

Thanks for the reply.

I had already done this. But it is not working. The ClientResources/Styles.css does not load in Visitor Group edit mode. It loads when it is in Content Edit mode.

Is there any other way to do it?

Thanks!

#185468
Edited, Nov 21, 2017 10:02
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.