<div dir="ltr">Hi Erich.<div><br></div><div>Yeah, I battled against this myself quite recently.  Here's what I did to add a logo to the Horizon splash page and to the header of each page itself.  </div><div><br></div><div>Create a file called _splash.html, containing:</div><div><br></div><div><div><div class="text-center"></div><div>  <img class="splash-logo" src={% themable_asset "img/logo.png" %}></div><div></div></div></div><div><br></div><div>And a file called _brand.html, containing:</div><div><br></div><div><div>{% load branding %}</div><div>{% load themes %}</div><div><br></div><div><a class="navbar-brand" href="{% site_branding_link %}" target="_self"></div><div>  <img class="openstack-logo" src="{% themable_asset 'img/logo.png' %}" alt="{% site_branding %}"></div><div></a></div></div><div><br></div><div>I then created a folder called /usr/share/openstack-dashboard/openstack_dashboard/themes/default/templates/auth/ and copied _splash.html into there, copied _brand.html into /usr/share/openstack-dashboard/openstack_dashboard/templates/header/, and finally my 'logo.png' was copied into /usr/lib/python2.7/site-packages/openstack_dashboard/static/dashboard/img/</div><div><br></div><div>Note that this approach might differ slightly from your setup, as in my case it's a Kolla-based deployment so these changes are applied to the image I'm using to deploy a Horizon container.  But it's the same release (Queens) and a CentOS base image, so in principle the steps should work for you.<br></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div>Hope that helps.<br></div><div><br></div><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">-- <br><div><br></div><div>-Nick</div></div></div></div></div></div>
<br><div class="gmail_quote">On 20 August 2018 at 17:40, Erich Weiler <span dir="ltr"><<a href="mailto:weiler@soe.ucsc.edu" target="_blank">weiler@soe.ucsc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Y'all,<br>
<br>
I've been banging my head against a wall for days on this item and can't find anything via google on how to get around it - I am trying to install a custom logo onto my Horizon Dashboard front page (the splash page).  I have my logo ready to go, logo-splash.png.  I have tried following the instructions here on how to install a custom logo:<br>
<br>
<a href="https://docs.openstack.org/horizon/queens/admin/customize-configure.html" rel="noreferrer" target="_blank">https://docs.openstack.org/hor<wbr>izon/queens/admin/customize-<wbr>configure.html</a><br>
<br>
But it simply doesn't work.  It seems this stanza...<br>
<br>
#splash .login {<br>
background: #355796 url(../img/my_cloud_logo_mediu<wbr>m.png) no-repeat center 35px;<br>
}<br>
<br>
...doesn't actually replace the logo (which is logo-splash.svg), it only seems to put my file, logo-splash.png as the *background* to the .svg logo.  And since the option there is "no-repeat center", it appears *behind* the svg logo and I can't see it.  I played around with those options, removing "no-repeat" for example, and it dutifully shows my logo repeating in the background.  But I need the default logo-splash.svg file to actually be gone and my logo to exist in it's place.  Maybe I'm missing something simple?<br>
<br>
I'm restarting apache and memchached after every change I make when I was testing.<br>
<br>
And because the images directory is rebuilt every time I restart apache, I can't even copy in a custom logo-splash.svg file.   Which wouldn't help anyway, as I want my .png file in there instead.  I don't have the means to create a .svg file at this time.  ;)<br>
<br>
Help!<br>
<br>
As a side note, I'm using the Queens distribution via RedHat.<br>
<br>
Many thanks in advance,<br>
erich<br>
<br>
______________________________<wbr>_________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.open<wbr>stack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-operators</a><br>
</blockquote></div><br></div></div>