Editing in Custom Theme

Permalink
I'm building my first Concrete5 site, and while it may not be the best idea, I'm using a custom theme. C5 is only valuable if I can totally use my own HTML/CSS. I've uploaded my theme and it loads fine on the front end, but when I go into the editor and attempt to add a block there is no styling (two screenshots attached). I'm assuming I'm just missing something in the custom theme install. Any help would be appreciated.

-DM

2 Attachments

View Replies:
Ekko replied on at Permalink Reply
Ekko
You may want to separate the themes css from the concrete5 css. The c5 recommended way last I checked is to create a div to wrap your theme and call it c5wrap.

In your header start with

</head>

<body>
<div id="c5wrap">

You will than need to prepend all of your other divs with #c5wrap in your css to make it functional. Like #c5wrap nav li a { for example.

Again this was best practice last I checked which has been months but it will separate the styles and should solve your issue.