How to hide <label for=""> CSS
<p>I am trying to hide these:</p>
<pre><code>&lt;p&gt;
&lt;label for=&quot;secondname&quot;&gt;&lt;?php esc_html_e('Last Name','wpestate');?&gt;&lt;/label&gt;
&lt;input type=&quot;text&quot; id=&quot;secondname&quot; class=&quot;form-control&quot; value=&quot;&lt;?php echo $last_name;?&gt;&quot;  name=&quot;firstname&quot;&gt;
&lt;/p&gt;
</code></pre>
<p>I managed to hide the Input, but not the label.</p>
<pre><code>#secondname {
  display: none;
}
</code></pre>
<p>Thanks</p>