Can't get drag/drop to work in editor
Permalink Browser Info Environment
When using this theme (Fruitful), drag/drop of blocks breaks. I've tried 3 other themes with my site and all of those work just fine. I really like the clean look of this theme and want to use it. I keep reading that z-index in CSS files can cause this problem. I've tried commenting out all the z-index entries but it's still broken. Any idea how to fix this?
Type: | Discussion |
---|---|
Status: | In Progress |
I am having the same issue!
So if you set:
you can move the blocks, but then the popup with editing options stops appearing.
div#ccm-menu-click-proxy {z-index: auto;}
you can move the blocks, but then the popup with editing options stops appearing.
I've also run into this problem. I have a custom-built theme, and am unable to move blocks around. I can open the popup edit options menu, but can't drag anything around.
Using Concrete 8.3.1
Using Concrete 8.3.1
Concrete5 Dragging Blocks Does Not Work
Check your positioning and z-index for any content wrapper divs.
Use your web inspector mode to discover which enclosing div is z-indexed in your theme.
Set editmode on body:
Hope this helps someone, or me when I have this problem again in 6 months! : ) Have a nice day!
Check your positioning and z-index for any content wrapper divs.
/* When a container is positioned and has z-index, it interferes with dragging blocks on page. We set it to auto, default value during editmode. -td*/ body.editmode.device-lg.sticky-footer #content, body.editmode.device-xl.sticky-footer #content {z-index: auto;}
Use your web inspector mode to discover which enclosing div is z-indexed in your theme.
Set editmode on body:
<?php //decide if c5 is editmode or logged in, apply classes to help grease the wheels $u = new User(); if ($u->isLoggedIn()) { $ulogged = 'ulogged'; }else{ $ulogged = ''; } if ($c->isEditMode()) { $editclass = 'editmode'; }else{ $editclass='viewmode'; } ?> <body class="stretched sticky-footer <?php echo $editclass . ' ' . $ulogged;?>">
Hope this helps someone, or me when I have this problem again in 6 months! : ) Have a nice day!