Django-cms 3.5.2 Toolbar overlapping with navbar

110 views
Skip to first unread message

pakwesii...@gmail.com

unread,
Nov 3, 2018, 8:10:26 PM11/3/18
to django CMS developers
Dear Reader,

I am new in Django-cms. right now I have an issue with the toolbar and bootstrap4.
The toolbar overlapping with the navbar and if I use ?toolbar_off I can see the navbar but without the bootstrap CSS.
I already added this in my base.html
<!-- django CMS toolbar adjustment -->
    {% if request.toolbar %}
        <style>
         .cms-toolbar-expanded .navbar-custom {
            margin-top: 30px;
        }
        </style>
    {% endif %} 
this did not solve the problem
I am using Django-1.11.16.dist-info, djangocms_bootstrap4 and django_cms-3.5.2.dist-info 
Can anyone help me solve this problem that makes it possible for the page to move under the toolbar?

Opera Snapshot_2018-11-04_005053_127.0.0.1.png

thanks

Nicolas Pascal

unread,
Dec 20, 2018, 7:34:04 AM12/20/18
to django CMS developers
hi,

Maybe with something like that.

  {%  if request.toolbar and user.is_authenticated and request.toolbar.edit_mode_active %}

  {% endif %}
Reply all
Reply to author
Forward
0 new messages