Paulo
Paulo

Reputation: 7362

Django CMS logo change

Is there a way to change the Django CMS logo, for my own company logo?

Upvotes: 4

Views: 3653

Answers (4)

Peter Húbek
Peter Húbek

Reputation: 693

It's located inside the djangocms_admin_style module, the path is djangocms_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 the INSTALLED_APPS=[].

Upvotes: 0

Fabian
Fabian

Reputation: 850

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

div.cms .cms-toolbar-item-logo a:before {
    display: none;
}

to your site's custom .css file. If you want to replace it by something else use

div.cms .cms-toolbar-item-logo a:before {
    content: "something else";
}

Remember to load your site's custom css after the {% renderblock css %} tag or django CMS's css definition will overwrite yours.

Upvotes: 5

Wolo
Wolo

Reputation: 170

Replace /media/cms/images/cms_toolbar.png

Or edit the #cms_toolbar definition in the media/cms/css/toolbar.css stylesheet.

Upvotes: 2

kender
kender

Reputation: 87241

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

Upvotes: 1

Related Questions