[Fixed]-How to customize static_placeholder html code in django cms

1👍

This seems as a snapshot from the edit mode, when the CMS inserts <div> tags around content to enable front-end editing.

As a first step, publish the page and preview as anonymous user (log out or use incognito mode). If the problem is no longer there, then it was due to the editor.

I would recommend designing the CSS in a way that it is not thrown off by insertion of the <div> tags, however, if this poses a large problem you may remove {% cms_toolbar %} from your template – however, this then removes your ability to edit the page.

👤petr

Leave a comment