Joss Posted September 11, 2014 Share Posted September 11, 2014 Okay, so I have no idea where to start with this one. Foundation 5 has an off-canvas menu system described here: http://foundation.zurb.com/docs/components/offcanvas.html I have a template that uses this function. It also calls in child pages and renders them down the page. So far, it works fine. Now, I add to the child template an image: <?php echo $page->main_image->url; ?> All good - renders fine, everything wonderful. Now, I resize it: <?php echo $page->main_image->width(400)->url; ?> The image is shown, it has been resized and every thing is wonderful, yes? Well, no - because the offcanvas menu no longer works! Revert to no resizing, it works fine, use any resize (height, width, size) it breaks. Er, why? The menu is a Jquery function, the resize is a php function. So, why are they conflicting? I must be getting old..... Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now