Forum
Append a Class attribute in perch content ?
I need to add a class attribute in perch.
Here is my code :
<p class="lead"> <perch:content id="default_page_heading_text" type="textarea" label="default_page_heading_text" textile="true" editor="markitup" /> </p>
I could be corrected by someone but I think the editors used in Perch all put <p>...</p> tags around textarea fields. Therefore you'd be best changing your code as below and changing your CSS to target div.lead p