I'm really unsatisfied with login block - it's too tall for me. How can I change this? I only want to login and password text inputs be positioned to the right of their labels (by default they are under labels, like on this site).

My poor research shows that solution is in "includes" folder. Please, help me.

Greets from Russia :)

Comments

arsart’s picture

вообще-то drupal.ru существует:)
Дуй к нам.

---------------
DesignCollector

dandaka’s picture

дую-дую :) но практика показывает, что на англоязычных сайта шанс получить саппорт больше.

arsart’s picture

я уже ответил что делать, тебе и там и здесь.
---------------
DesignCollector

teradome’s picture

The login block isn't a structurally themeable piece -- the openly themable elements are listed here (http://drupaldocs.org/api/head/group/themeable). So you have two options:

  1. edit the item in the drupal code that generates that block
  2. do as much as possible with css

Now I highly recommend #2. You can play around with float settings and sizes and move the labels to the right of the fields. However, it's not going to be particularly easy styling. The advantage is that the login block is always in <div id="block-user-0">... use rules that affect only descendants of that ID and you can safely change whatever you want.

arsart’s picture

hmm. i think correcting of this stokes in drupal.css is more powerful:

.user-login-block{}
.form-item label {}

---------------
DesignCollector

arsart’s picture

Double Hmmm:)
i`m sorry, gennie, don`t style
.form-item label {}
cause it will format all form-item labels on your site (if they even appears there)

Use styling in such way
.user-login-block .form-item label{}
This will style form labels only in user login block!

---------------
DesignCollector