Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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!

    #244194
    This reply has been marked as private.
    #244288

    Hey!

    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,
    Devin

    #244337

    Hi 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,
    Linda

    #244339
    This reply has been marked as private.
    #244910

    I 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.

    #244920

    Thanks 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.

    #244921
    This reply has been marked as private.
    #244928

    It could be the WordPress version since neither yours or the demo is updated.

    #245514

    Hi 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 Changes

    This 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. :)

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Enfold theme markup validation errors’ is closed to new replies.