hi,
Maybe with something like that.
{% if request.toolbar and user.is_authenticated and
request.toolbar.edit_mode_active %}
{% endif %}
Le dimanche 4 novembre 2018 01:10:26 UTC+1, [email protected] a écrit :
>
> 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?
>
> [image: Opera Snapshot_2018-11-04_005053_127.0.0.1.png]
> thanks
>
--
Message URL:
https://groups.google.com/d/msg/django-cms-developers/topic-id/message-id
Unsubscribe: send a message to
[email protected]
---
You received this message because you are subscribed to the Google Groups
"django CMS developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/django-cms-developers/c93f306a-3728-4df0-bf83-42ec929f6c9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.