How can I reduce the font size of the login block only? Because when I switch the language of the home page to another language, let say spanish the text size is so big than it jumps out the frame (see attached image).

Any idea how to make everything fit in place?
One step could be to reduce the label of the login button, but I think that will not be enough.

CommentFileSizeAuthor
#5 login_2.png19.21 KBsapox
#3 login.png21.18 KBsapox
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rschwab’s picture

Category: bug » support

Looks like you forgot the image attachment. But here is how I would handle this problem

1. Download and install the Firebug plugin for Firefox
2. Use it to find the CSS rules that affect the login block
3. Overwrite those rules in your theme css files.

A link to your site with the issue would be the most helpful thing you could provide, I think. Then someone could tell you exactly which rule you're looking for.

- Ryan

nomonstersinme’s picture

Status: Active » Postponed (maintainer needs more info)

Unfortunately, until I have more info I can't help you. Please move forward as per @rschwab's great directions!

sapox’s picture

FileSize
21.18 KB

Sorry for that, here is the missing image.

In the mean time I'll try to figure it out with firebug and see what happens, but any help is welcome.

nomonstersinme’s picture

I would just target that particular block in style.css and alter the width.. For the demo site i would need to target:

#block-0 {
  width: 300px; //or whatever you need.
}

does that answer the question or am i missing something?

sapox’s picture

FileSize
19.21 KB

I though that use the #block-0 will not only affect the login but also the block-0 for already signed users, so I simply changed the translation.
I know that it isn't the most optimal solution but for the moment it works.

nomonstersinme’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

there shouldn't be another block with the delta 0.. but i'm glad you fixed your issue if at least for now!