-
AuthorPosts
-
April 27, 2017 at 2:41 pm #784035
I have a very strange issue with one of my pages. I use pretty much the exact same page setup for every “location” that we offer and yet after a small edit on one of these pages, not only is the layout messed up but everytime I want to edit the page, it defaults the editor to the standard WP editor and puts me in “Text view”.
If I then click “Advanced layout editor”, the layout pops up perfectly and yet, when I look at the page (once its published) the layout is messed up again.Here is what it should look like: http://www.alwayswindy.com/blog/lefkada-kitesurfing/
Here is what the messed up page looks like: http://www.alwayswindy.com/blog/gokova-kiteboarding-always-windy/
So I am not quite sure but it looks as if something went wrong with the color section but I just cant find it.
Any help would be appreciated!
April 28, 2017 at 2:42 pm #784582Have you by chance disabled the visual editor setting in the users profile?
April 28, 2017 at 2:54 pm #784594No and this issue only arises on the messed up page. Every other page i want to edit shows the enfold editor by default.
April 28, 2017 at 2:59 pm #784597Perhaps the code got mangled. Have you switched on the builder debug mode? If not put the following code in the functions.php of your child theme:
add_action( 'avia_builder_mode', 'builder_set_debug' ); function builder_set_debug() { return "debug"; }
This will display the code created by the advanced layout builder in a field below and can help troubleshooting issues
April 28, 2017 at 4:06 pm #784664Yes I have that enabled. I will be looking into the code now but its strange the editor keeps switching only on the affected pages.
April 28, 2017 at 4:25 pm #784678I need help here. I went through the whole code and I cant see an issue.
I think I know how the problem happened though: I must have edited some tiny thing in the debug window instead of in the Avia builder and I remember reading somewhere that would be a bad idea because it messed something up.So what can I do now?
April 28, 2017 at 4:27 pm #784681Open and Save each element in the ALB. This will fix the code.
April 28, 2017 at 4:43 pm #784690Tried that now, no luck. Any other ideas?
April 28, 2017 at 4:57 pm #784702Either your first color section is not closed or the second section is not properly opened.
Given your first link is the ‘template’ that all other pages should follow you should insert two new color section on the top of the page representing the second link. Than move the four 1/4 columns into the first section and the 1/3 and 2/3 columns in the second section. Now delete the two section you have just emptied (formerly section 1 and 2). If that works just add your background to section one and set the height you desire.
Best practice is to copy the code of that pafe from the debug windows into an editor (not word or wordpad – real editor like notebad++) this way you can paste it back if the above procedure wont work.
April 28, 2017 at 5:03 pm #784709April 28, 2017 at 5:05 pm #784713Yes its translated and I think WPML could be also at fault here.
April 28, 2017 at 5:14 pm #784718OK sorted. It was WPML that thought it needed to stick with its version. So I unlinked it and now all is back to normal. Consider this issue resolved.
April 30, 2017 at 6:55 am #785199 -
AuthorPosts
- The topic ‘Advanced Layout editor has to be re-enabled on every edit’ is closed to new replies.