1
I’m trying to do a preg_replace to add a style in the id="content" div, but I didn’t have much success, someone would have a better idea?
Trying
$html = preg_replace('/<div id="conteudo">.*<\/div>/s','<div id="conteudo" style="display:none;">',$html);
echo $html
Page.php
<div id="conteudo">
<div class="row" style="margin: 0; ">
<div class="col-md-12" style="text-align:center; padding:8px;">
<label style="color:white;"><b> Conteudo</b></label>
</div>
</div>
</div>