September 13, 2013 at 2:34 am #29570
On my site, I have Enfold 2.1 installed on a WP 3.6 installation. I’m using a customized child theme of Enfold.
I moved the page.php file from the /enfold/ theme folder into my child theme folder and renamed it, adding the commented PHP code at the beginning to turn it into a Template that can be used for individual pages via the WP editor Page Attributes dropdown.
The problem is that every time I use this new Page Template, the page is broken.
Here is what the page should look like: http://herbmentor.com/EnfoldEditorBug2-Intended.jpg
Here is what it looks like when broken: http://herbmentor.com/EnfoldEditorBug2-Bug.jpg
Somehow, the page background div has covered up the main content area – as it appears somewhere along the line, one or more divs were closed prematurely. The HTML code reveals that the broken pages are all properly generating the content, but it’s covered up by that missplaced background image.
I started to run some tests, thinking that I had messed something up in my page Template’s code. Turn’s out, whenever I remove the included page loop template, the problem disappeared. Though, so did all the content, obviously.
I tested many other ways, including trying to recreate the entire page from scratch in the Advanced Layout Builder, and that’s when I noticed the fun part that I need your help with.
This is the new page I created from scratch: http://herbmentor.com/EnfoldEditorBug2-Test.jpg
Content shows up fine so far, though I’m just using a 1/2 column & text box shortcode. So I added a few others. All of them worked fine. Until I got to the Color Box layout shortcode. Every time I added one of these shortcodes to the layout, the page would break in the exact same way as above.
It seems like something in the Color Box code doesn’t translate well on pages using a custom page Template, and I can’t figure out why.
The topic ‘Advanced Layout Builder features incompatible with Page Templates in Child Theme’ is closed to new replies.