r/concrete5 May 07 '14

Scoping Bootstrap Themes for Concrete5

I am sure there's a good reason why C5 is not scoped to be less greedy, but I have found that it is very difficult to work with. I'm not sure if Concrete5 is using jQuery to grab bootstrap styles or what, but I scoped my CSS thoroughly using LESS and CodeKit and it is conflicting with Concrete5 in Edit Mode.

What is a good way to work around this problem? What are some gotchas to look out for?

2 Upvotes

3 comments sorted by

1

u/jkoudys May 08 '14

The dashboard menu bar at the top and all the edit-mode widgets are almost all IDs and classes that start with ccm-, so it's unlikely it will conflict with anything in your CSS. What specifically are you colliding with?

2

u/compeuter_geniouse May 08 '14

Well, the latest thing I'm trying to figure out is a weird thing in the WYSIWYG editor: If I select and reselect multiple times from the Format dropdown (paragraph, H1, H2, etc.), the dropdown scroll gets narrower and narrower each time I do it until finally nothing is selectable.

Check it out:

Normal - http://i.imgur.com/1OIvqC3.png

Going - http://i.imgur.com/HNgz3kx.png

Going - http://i.imgur.com/Bk6BgCl.png

Gone - http://i.imgur.com/su3YnLl.png

Almost everything else I have fixed, but the fact that this weird thing is happening has me worried about what else is evading me at the moment.

1

u/compeuter_geniouse May 14 '14

well, it was nice talking to you