Site logo

[Resolved] Theme adds ekstra

Home Forums Support [Resolved] Theme adds ekstra

Home Forums Support Theme adds ekstra

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #865692
    Anders Nielsen

    Hi

    I have testet my site using the https://validator.w3.org

    I says I have some errors, I have written som Wp-forms and others, and they all say, that it is the theme, that adds an ekstra “</p>” causing the W3 validation to fail.. I don’t know if it’s true.

    I have checked my HTML in the admin – and theres no errors there.

    Can you take a look?

    If you try validate the website, though https://validator.w3.org – you can easy see the errors and find them though search in the source code 🙂

    #866300
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    The classic WP editor can get confused when shortcodes are in shortcodes (forms inside columns), as it tries to add <p> tags when possible.

    Does the issue go away if you remove the form shortcode?

    What if you add an empty space above and below the form shortcode?

    #866797
    Anders Nielsen

    ok, so the issue is related to the classic editor.

    I inserted div around the shortcode, that helped one place.. Thanks.

    #866798
    Anders Nielsen

    FIxed

    #867280
    Tom
    Lead Developer
    Lead Developer

    Glad you got it working 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.