How to remove extra P tag in Twenty Thirteen theme

I have a huge problem regarding P tag.
I search over the Internet can not find the solution.
Is there any body who can help me to find the solution.
Please help to remove extra p Tag.
Here is the link

  1. If you have an extra <p> tag can’t you go into the source code and remove it?
  2. Where exactly on that website is the extra tag?
  3. What prevents you from doing #1?

No i can’t remove it because it was generated by system.

If you check my link under the “CEO RESOURCES” box there is extra P tag generated before footer. also if you check the images there is extra space in a image. you can check the page it shows you empty P tag.

The website is powered by WordPress, which tends to insert <p> tags automatically. There are plugins, such as wpautop-control to help with this issue. But I’ve never used any of them. I prefer to go into the source code and change things myself (not a great idea if the website is very large).

I just took a quick brief look at the 2013 theme and I don’t think this is from the theme. (unless you’ve hacked it)

Maybe a plugin you’re using? It seems rather bizarre to be wrapping comments in p tags. Used for spacing rather than CSS?

<p><!--colum2 ends Here --></p>
<p><!--focus ends starts --></p>
<div class="clearfx"></div>
<section id="CEORES"><!--CEO Resources Starts Here --></p>
<div class="CEOheading">CEO Resources</div>
<div class="CEOcol1"><!--CEOcol1 starts Here --><br />
<img src="./wp-content/uploads/2014/12/leadership.png" alt="" /></p>
<h3>Leadership Tools</h3>
<p>Access Whitepapers, Articles and Primers.</p>
<div class="link"><a href="">Read More</a></div>
<p><!--CEOcol1 ends Here --></p>
<div class="CEOcol1"><!--CEOcol1 starts Here --><br />
<img src="./wp-content/uploads/2014/12/trendwhite.png" alt="" /></p>
<h3>Market Trends</h3>
<p>Take a Survey and Read What Your Peers are Saying.</p>
<div class="link"><a href="">Read More</a></div>
<p><!--CEOcol1 ends Here --></p>
<div class="CEOcol1"><!--CEOcol1 starts Here --><br />
<img src="./wp-content/uploads/2014/12/KLBexpertwhite.png" alt="" /></p>
<h3>KLB NetXperts</h3>
<p>KLB’s Network of Experts Ready to Help You Execute!.</p>
<div class="link"><a href="">Learn More</a></div>
<p><!--CEOcol1 ends Here --></p>
<div class="CEOcol1"><!--CEOcol1 starts Here --><br />
<img src="./wp-content/uploads/2014/12/enewswhite.png" alt="" /></p>
<p>Stay Informed! Sign Up for Our Newsletter</p>
<div class="link"><a href="">Sign Up</a></div>
<p><!--CEOcol1 ends Here --></p>
<p><!--CEO Resources ends Here --></p>

If you can’t figure out how to remove it from the source code, you can at least hide it with CSS:

#CEORES + p {display: none;}

Will that work for the extraneous closing p tags?

I have try wpautop-control plugin but it won’t work.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.