Add prefix / suffix to field by using template_preprocess_field
to prefix a paragraph field, this needs to be put into mytheme.theme .

function mytheme_preprocess_paragraph(&amp;$vars) {
  if (isset($vars['elements']['#paragraph']) &amp;&amp; ($vars['elements']['#paragraph']-&gt;getType() == 'hp_dean')){
    //kint($vars);
    $vars['content']['field_hp_dean_title']['#prefix'] = '&lt;div class="cont-wrap"&gt;';
    $vars['content']['field_hp_dean_more']['#suffix'] = '&lt;/div&gt;';
  }
}


you can adjust this to your specific hook, like hook_preprocess_node and similar .