I'm currently using WordPress and it's generating the following code:
<aside class="left-hand-column">
<div class="textwidget">
<p></p> ...1
<div class="pdf-download">
<p> ... 2
<a href="http://www.kusuma.ee-web.co.uk/wp-content/uploads/2016/04/strategy2015-2018.pdf" target="_blank">download pdf</a>
</p>
</div>
<p></p> ...3
</div>
</aside>
I am looking to remove the <p></p>
tag pairs from the code.
My initial attempt was to use the following CSS rule:
.textwidget p:first-child {
display: none;
}
However, this solution resulted in the disappearance of the first and second instances of the <p>
tag, leaving only the third one visible. I'm now seeking guidance on how to achieve the desired effect. Any suggestions?