-
AuthorPosts
-
March 28, 2014 at 4:51 am #244191
Hello, I just ran a quick site validation check and found a couple errors on several pages. These are the ones I would like to see if I could remove / fix:
– extra orphan </p> tags
– <style> declaration in the html body
<style type='text/css'>#top #wrap_all .avia-gallery-1 .avia-gallery-thumb a{width:12.5%;}</style>
I have been using the avia layout editor to create my pages. See private reply for my site link. Thank you, any comments or advice appreciated!
March 28, 2014 at 4:53 am #244194This reply has been marked as private.March 28, 2014 at 11:25 am #244288Hey!
The theme doesn’t, or rather, shouldn’t create any orphaned paragraph tags so that would be a fix you would be able to and should do on your content.
The inline styling tags are a must-have however since its how the theme creates the content.
Best regards,
DevinMarch 28, 2014 at 1:45 pm #244337Hi Devin,
I do think the theme is creating orphaned paragraph tags. I just tested creating a new page using your Avia Builder that has 3/4 column with gallery and 1/4 column with text box – everything empty and the orphaned </p> tag still appears after the avia gallery. I will private reply the link to you.Also regarding the styling tags, I understand you need to create inline styling, but shouldn’t the style declaration be in the header above the body content, not within the body content? This style tag is between the <body> </body> tags.
Not to be such a stickler I guess I could launch the site as it is, but I do believe it should be free of these basic errors……
Thanks,
LindaMarch 28, 2014 at 1:49 pm #244339This reply has been marked as private.March 29, 2014 at 10:47 pm #244910I re-created the layout you have but don’t get the orphaned paragraph tag so I’m not sure where its coming from.
In your example the line 207 is after the content and is correct. It may not validate but then again most themes or websites don’t anymore for a variety of reasons.
March 29, 2014 at 11:54 pm #244920Thanks so much for looking at this issue Devin. You are the experts so that’s great to know line 207 won’t create any issues in browsers.
Re: the orphaned paragraph tag, you will see that your own theme demo has it as well here:
http://kriesi.at/themes/enfold/portfolio-item/lorem-ipsum/
I did another fresh install on another server and in default editor mode, added 3/4 paragraph & 1/4 paragraph then added a gallery with default photos and it still created the extra orphan paragraph tag at the end.
March 29, 2014 at 11:57 pm #244921This reply has been marked as private.March 30, 2014 at 1:59 am #244928It could be the WordPress version since neither yours or the demo is updated.
March 31, 2014 at 4:54 pm #245514Hi Devin,
I’m running the most current version WordPress 3.8.1 on my development server and I just upgraded to the latest version on the demo install and the problem persists.I looked into it further, and it seems to be a problem with the visual Avia Layout Builder for this specific case:
– 2 column layout with the gallery on the left
– you click on gallery and then Add/Edit Images, do whatever you need to do, then click Save ChangesThis will result in an extra </p> tag in your markup.
This is easily fixed by dragging your column with the gallery to the bottom of page, and dragging it back to position. Sort of a kludge to fix the problem, but it does remove the </p> tag.
So I think it is a minor bug in your Avia Layout Builder Gallery code.
Since I was able to fix this problem myself, you could close this ticket. But maybe something for the development team to look out for while working on the next release. :)
-
AuthorPosts
- The topic ‘Enfold theme markup validation errors’ is closed to new replies.