Roundcube Community Forum

 

how to center logo on sign in page

Started by andrewjs18, March 31, 2014, 11:43:04 PM

Previous topic - Next topic

andrewjs18

how can I center the logo in the sign in page?



furthermore, after signing in, how can I increase the top black bar?



I'm using the default theme that ships with the latest stable version of roundcube.

icedman21

TO center the login logo, just edit /skins/default/templates/login.html or /skins/larry/templates/login.html, whichever applies to your case.

Look for this at the top of the file


<div id="login-form">
<div class="box-inner">
<roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" />

<roundcube:form name="form" method="post">
<roundcube:object name="loginform" form="form" size="40" submit=true />
</form>


and replace the line <div class="box-inner"> with <center><div class="box-inner"></center>



I know that you should style with css preferably, but for a quick fix, this is what I use