during validation on http://validator.w3.org/ I have also a problem with p tags. They appear mostly in sections genereted using shortcodes. I don't know whether the problem is with lenght of line or with spaces visible in preview of code.
BTW. I am having also your Newave responsive one page parallax template, where the same problems were active, but I have solved them editing the source code of web page. But here with wordpress it's not so easy.
Thank you for your reply, but I think the reason is still far ...
I've checked the code and there are no line breaks. Here comes a screenshot showing that one of problematic sections with p tags is clean and creates a single string (chain) without any unwanted chars.
I am confused as well - but validator finds an errors there. Maybe it just doesn't like the paragraph with so many div sections inside. I have no other idea.
The same error was with my other page based on "Newave responsive one page parallax template", but solution was quite simple, I have just removed opening and ending paragraph tags from the code.
Aha, ok, it might be, perhaps there is a space in the page content which generates the paragraph? There are no p's in our demo ('Services'). Le me know. Thx
Indeed there are no p's in your demo - but I have double, even triple checked it and I can't find out why and what is adding those additional paragraph tags. For sure there is nothing in front of these shortcodes.
Hi, I verified the code only the div is returned in the case of one half column (line 712 in shortcodes.php) and the service shortcode does not enclose the divs with paragraphs - only the content (line 1420 in shortcodes.php)
Here I come again,
during validation on http://validator.w3.org/ I have also a problem with p tags. They appear mostly in sections genereted using shortcodes. I don't know whether the problem is with lenght of line or with spaces visible in preview of code.
BTW. I am having also your Newave responsive one page parallax template, where the same problems were active, but I have solved them editing the source code of web page. But here with wordpress it's not so easy.
Thank you in advance for your advices.
Hello, check first if there are line breaks within your shortcode (visual editor will insert p tags instead)
Thanks
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Hi there!
Thank you for your reply, but I think the reason is still far ...
I've checked the code and there are no line breaks. Here comes a screenshot showing that one of problematic sections with p tags is clean and creates a single string (chain) without any unwanted chars.
Hi Sorry i'm a bit at a loss here, I look at this section (nasze-uslugi) and i see nothing wrong with the ending p tag...
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
I am confused as well - but validator finds an errors there. Maybe it just doesn't like the paragraph with so many div sections inside. I have no other idea.
The same error was with my other page based on "Newave responsive one page parallax template", but solution was quite simple, I have just removed opening and ending paragraph tags from the code.
Aha, ok, it might be, perhaps there is a space in the page content which generates the paragraph? There are no p's in our demo ('Services'). Le me know. Thx
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Indeed there are no p's in your demo - but I have double, even triple checked it and I can't find out why and what is adding those additional paragraph tags. For sure there is nothing in front of these shortcodes.
Hi, I verified the code only the div is returned in the case of one half column (line 712 in shortcodes.php) and the service shortcode does not enclose the divs with paragraphs - only the content (line 1420 in shortcodes.php)
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Hi there,
Yes, you're absolutely right - those additional paragraph tags are created by WordPress. Now I discovered it as well.
But I just found a simple solution, there is a plugin for WordPress called 'Remove P' which easily removes what is unnecessary in the code!
I think <p> tags subject is closed now - thank you for all your efforts.