Author Topic: how to center logo on sign in page  (Read 8853 times)

Offline andrewjs18

  • Jr. Member
  • **
  • Posts: 30
how to center logo on sign in page
« on: March 31, 2014, 11:43:04 PM »
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.

Offline icedman21

  • Newbie
  • *
  • Posts: 1
Re: how to center logo on sign in page
« Reply #1 on: June 14, 2014, 02:04:15 AM »
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

Code: [Select]
<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