-
AuthorPosts
-
January 16, 2017 at 8:46 pm #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. Color section (scroll down button enabled) with a special headline inside
- 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
January 18, 2017 at 10:42 pm #735572Hey 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,
AndyJanuary 19, 2017 at 11:43 am #735803Hi Andy,
sure, take it away.
thank you!Robert
- This reply was modified 7 years, 10 months ago by Robert. Reason: remove old credentials
January 20, 2017 at 6:15 pm #736604Hi,
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):
…following is invalid:
What do you think?
Best regards,
Robert- This reply was modified 7 years, 9 months ago by Robert. Reason: remove cred
January 23, 2017 at 7:18 am #737134Hi,
In the second screenshot, please put the columns inside their own color section. It usually fix the issue.
Best regards,
IsmaelJanuary 23, 2017 at 3:14 pm #737274Hello 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,
RobertJanuary 24, 2017 at 6:13 am #737525Hi 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,
RikardJanuary 24, 2017 at 1:23 pm #737712Thank you Rikard!
I agree, its good to know how to fix things quickly while managing other priorities…Keep up the good work,
RobertJanuary 25, 2017 at 6:44 am #738135 -
AuthorPosts
- You must be logged in to reply to this topic.