C5 outputting duplicate html code
Permalink
Hey Everyone,
We're html/css developers & new to Concrete5 and buildin' our first custom theme.
Our question:
The wrapper divs in our html code are being duplicated multiple times when C5 builds the page. Not sure why.
Here's an example of our code:
Here's what actually gets output by C5:
We need to make C5 output the code only once. Not sure what's happenin', any help or suggestions would be appreciated.
Thanks,
FlyDuo
We're html/css developers & new to Concrete5 and buildin' our first custom theme.
Our question:
The wrapper divs in our html code are being duplicated multiple times when C5 builds the page. Not sure why.
Here's an example of our code:
<!-- content-right --> <div id="content-right"> <div class="copy-area"><!-- content-copy-area --> <?php $a = new Area('main content area'); $a->display($c); ?> </div><!-- /content-copy-area --> </div><!-- /content-right --> </div> <!--/content-Container-->
Here's what actually gets output by C5:
<!-- content-right --> <div id="content-right"> <div class="copy-area"><!-- content-copy-area --> <div id="content-right"> <div class="copy"> <h2>SERVICES</h2> <p>...services page content goes here...</p> </div> </div> </div><!-- /content-copy-area --> </div><!-- /content-right -->
We need to make C5 output the code only once. Not sure what's happenin', any help or suggestions would be appreciated.
Thanks,
FlyDuo
I was copy and pastin' from the local dev version in one browser to the live version in another browser and the copy was including the div info.. I didn't notice it until I switched the edit app in C5. over to html view.
Easy fix that's cool.
FlyDuo