Django CMS 徽标更改
有没有办法将 Django CMS 徽标更改为我自己的公司徽标?
Is there a way to change the Django CMS logo, for my own company logo?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
有没有办法将 Django CMS 徽标更改为我自己的公司徽标?
Is there a way to change the Django CMS logo, for my own company logo?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
该徽标似乎已被特定 django-cms-font 中的“图标”替换。 关闭它
使用 Django CMS 3.2 版本,您可以通过添加到站点的自定义
.css
文件来 。如果你想用其他东西替换它,请记住在
{% renderblock css %}
标签后加载你网站的自定义 css,否则 django CMS 的 css 定义将覆盖你的。It seems that the logo has been replaced by an "icon" in a specific django-cms-font. Using Django CMS 3.2 version you can turn it off by adding
to your site's custom
.css
file. If you want to replace it by something else useRemember to load your site's custom css after the
{% renderblock css %}
tag or django CMS's css definition will overwrite yours.替换 /media/cms/images/cms_toolbar.png
或编辑 media/cms/css/toolbar.css 样式表中的 #cms_toolbar 定义。
Replace /media/cms/images/cms_toolbar.png
Or edit the #cms_toolbar definition in the media/cms/css/toolbar.css stylesheet.
你指的是哪个标志?
我认为徽标只是模板内的图像,对吗?
查看
cms/templates/cms/new.html
中的模板Which logo do you mean?
I think logo is just an image inside the template, right?
Check out the template in
cms/templates/cms/new.html
它位于 djangocms_admin_style 模块内部,路径为 djangocms_admin_style/static/djanogcms_admin_style/img/django-cms-logo.png 。最好克隆它,自定义它,然后简单地将它添加到您的项目中
INSTALLED_APPS=[]
。It's located inside the
djangocms_admin_style
module, the path isdjangocms_admin_style/static/djanogcms_admin_style/img/django-cms-logo.png
. It's better to clone it, customize it and then simply add it to your project under theINSTALLED_APPS=[]
.