Sonerezh / sonerezh

A self-hosted, web-based application to stream your music, everywhere.
https://www.sonerezh.bzh
GNU Affero General Public License v3.0
768 stars 122 forks source link

How do I change the icon of the Sonerez? #311

Closed bichomen closed 5 years ago

gs11 commented 7 years ago

Which icon do you mean and why would you want to do that? Without extra development you could just move your file with the same filename to the location of the image you want to change.

EDNI commented 6 years ago

I don't know if it answers your question but the "Sonerezh" in the nav bar is defined on line 48 in /app/View/Layouts/default.ctp

<?php echo $this->Html->link("your custom name here", array('controller' => 'songs', 'action' => 'index'), array('class' => 'navbar-brand')); ?>

to change the favicon, the icon that shows on the left of the tab you can change the favicon.ico in /app/webroot/

by default, it's the CakePHP icon, you can create you own on Gimp or here http://www.favicon.cc/

bichomen commented 6 years ago

Thank you!!

EDNI commented 6 years ago

My pleasure! If you want to make other cosmetic changes the CSS is pretty clean. On some open source app/frameworks/cms, with all the style cheats it can get pretty messy but here the devs did an amazing KISS job. You can really easily change the colors on the style.css file.