First characters from long to short description
.shortdescritption p:last-child::after {
content: "...";
margin-left: 2px;
}
<p> </p>
<p> </p>
<p>
<script><br />var myStr = $('.basic-description').html();<br /> var subStr = myStr.substring(0, 320);<br />$("<div class='shortdescritption'>"+subStr+"</div>").appendTo('.type-detail .p-info-wrapper');<br />$('.shortdescritption').find('h3').remove();<br /></script>
</p>