Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #734357

    Hi,

    before I get into the problem: I’ve disabled all plugins and I’m using the enfold default theme.

    If I use a specific order of elements in the Avia Architekt it generates invalid HTML code.
    (ERROR: Stray end tag div)

    I’m starting with an color section followed by default layout elements, for example three columns with arbitrary content.
    If I use the scroll down arrow (by checking the box) inside the color section the generated code is invalid.

    My setup looks like this:

    1. 1. Color section (scroll down button enabled) with a special headline inside
    2. 2. 1/5 + 3/5 + 1/5 layout elements

    If the scroll down button is disabeld that setup works.
    If I use a grid row instead of the layout elements the generated HTML is valid although the scroll down button is enabled.

    This wouldnt be a big deal, cause browsers usually compensate these small errors and rendering is fine…
    But I’m using pjax jquery-plugin to load dynamically content if navigating the website: basically I’m loading the content of the div#main and replacing it.
    Because there is 1 closing </div> too much (which makes the code invalid), the <footer> element is outside the #main-div and will not be replaced, so I end up with an page without footer.

    To be clear: the problem is not the jquery-plugin, it works fine if the html code is valid.
    As a workaround I need to work with a grid row instead of the default layout elements.

    I hope it all makes sense and you can help me :)
    I’ll send you some links to the development server… don’t judge me, its in a very early/experimental stage ;-)

    Thank you!
    Robert

    • This topic was modified 7 years, 10 months ago by Robert. Reason: remove old links
    #735572

    Hey Robert,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Andy

    #735803

    Hi Andy,

    sure, take it away.
    thank you!

    Robert

    • This reply was modified 7 years, 10 months ago by Robert. Reason: remove old credentials
    #736604

    Hi,

    I had to dig deeper into this problem, because time is running as everyone knows.
    So I recreated the problem with one of your demos – with a few clicks.

    Assuming in the first color section “Display a scroll down arrow” is checked…

    … this layout is valid (generates valid HTML):
    Usind a color section for the layout generates valid HTML

    following is invalid:
    Without a color section it generates invalid HTML

    What do you think?

    Best regards,
    Robert

    • This reply was modified 7 years, 9 months ago by Robert. Reason: remove cred
    #737134

    Hi,

    In the second screenshot, please put the columns inside their own color section. It usually fix the issue.

    Best regards,
    Ismael

    #737274

    Hello Ismael,

    thank you for your answer.
    Yes, it does. Thats what I was trying to say…

    Is this expected behavoir? Meaning should layout elements always be wrapped inside a color section?

    Best regards,
    Robert

    #737525

    Hi Robert,

    Not really to be honest, it should work without having to wrap them in a Color Section of course, but sometimes the builder can break the layout and placing them inside of a Color Section usually helps. It’s not optimal but at least it works.

    Best regards,
    Rikard

    #737712

    Thank you Rikard!
    I agree, its good to know how to fix things quickly while managing other priorities…

    Keep up the good work,
    Robert

    #738135

    Hi Robert,

    Thanks for understanding :-)

    Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

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