Custom Theme Question - "Add Block" loads div into full window

Permalink
Hi-
I bought the pro version of Flat-UI for Bootstrap (HTML) and I'm converting it into a custom C5 theme.

So far so good... I have the edit bar appearing, and I am able to mouseover and select the blocks I've created in PHP.

When I click "Add Block," it doesn't appear in a modal, but rather in the full browser screen (see attachment).

Can someone please suggest a troubleshooting script of where to hunt for culprits?

I have it on a demo site, so anyone interested can ask me for the link (and even a login if you're feeling that helpful!)

Thanks in advance,
Rob

1 Attachment

 
mhawke replied on at Permalink Reply
mhawke
I think the problem you are going to have is that C5's back-end also uses Bootstrap so it's very possible you have a serious css conflict. I have never really built a theme from scratch that uses Bootstrap but here is a discussion that took place a while ago with a solution at the end.

http://www.concrete5.org/community/forums/customizing_c5/block-edit...
robbynation replied on at Permalink Reply
Thanks for the response.
I tried the fix in the previous article.
No joy.
Any other suggestions? :)
mhawke replied on at Permalink Reply
mhawke
You PM me with the login details and the URL and I can have a look.
robbynation replied on at Permalink Reply
Ok, so after some more experimentation:

If I remove the block of "theme js" at the footer of the page when in edit mode, it works...

In a C5 theme: what's the most elegant way to exclude a block of php if isEditMode is true?

Thanks!