You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by dystechnic October 4, 2023
Hi,
I'm setting this skin up for an observatory and we would like to change the logo on the pages to the logo of our observatory. But I can't seem to get it to work.
I made 4 versions of the logo corresponding to the sizes op the icon-192x192.png, etc. I've put them in the same dir as the icon files and changed the line in html-head. inc to .
After removing all files from the www-root and adding the png's to the copy_once line in skin.conf I regenerated all pages. But still the original logo is in the top right corner.
What am I doing wrong?
Thanks.
Originally posted by **daveiano** October 4, 2023
Hi!
You are referring to the logo on the top left in the header (the blue one), right?
I did not think that a user would probably want to change the icon, to be honest. I will include an easy method of replacing the icon in the next release - because this sounds like a useful addition to the skin.
Thanks for reaching out!
The text was updated successfully, but these errors were encountered:
Discussed in #201
Originally posted by dystechnic October 4, 2023
Hi,
I'm setting this skin up for an observatory and we would like to change the logo on the pages to the logo of our observatory. But I can't seem to get it to work.
I made 4 versions of the logo corresponding to the sizes op the icon-192x192.png, etc. I've put them in the same dir as the icon files and changed the line in html-head. inc to .
After removing all files from the www-root and adding the png's to the copy_once line in skin.conf I regenerated all pages. But still the original logo is in the top right corner.
What am I doing wrong?
Thanks.
You are referring to the logo on the top left in the header (the blue one), right?
There is currently no built-in way to change the logo, it is simply included in the template as an SVG: https://github.com/Daveiano/weewx-wdc/blob/3.x/skins/weewx-wdc/includes/ui-shell.inc#L23
You could add your logo as an SVG and include that, this should work, I guess. You could also replace the provided icon with your own (https://github.com/Daveiano/weewx-wdc/blob/3.x/skins/weewx-wdc/includes/icons/wdc.svg).
I did not think that a user would probably want to change the icon, to be honest. I will include an easy method of replacing the icon in the next release - because this sounds like a useful addition to the skin.
Thanks for reaching out!
The text was updated successfully, but these errors were encountered: