Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In earlier versions on Omega there was an option for a horizontal user login block, as seen in the Gamma theme.
Does this still exist? I can't find it anywhere.
Comments
Comment #1
JSCSJSCS CreditAttribution: JSCSJSCS commentedIt does not exist in the current version. But this may help if you want to try to recreate it:
Context and Omega: User Zone
http://mydrupaljourney.com/articles/2011/06/16/context-and-omega-user-zone
Comment #2
MrPaulDriver CreditAttribution: MrPaulDriver commentedThank you.
That works, but I'm really looking for something which hides the labels, showing just the input boxes and the submit button
Comment #3
JSCSJSCS CreditAttribution: JSCSJSCS commentedMost of the items in the User login form have ID's or classes. Just use 'display:none' and they will go away.
For example, to remove the "Create new account" and "Request new password", just add the following CSS:
Comment #4
MrPaulDriver CreditAttribution: MrPaulDriver commentedThat did it
I needed to split the values below also
#user-login-form label {
float: left;
margin-right: 10px;
display: none;
}
#user-login-form input {
float: left;
margin-right: 10px;
background-color: #000;
}
Comment #5
JSCSJSCS CreditAttribution: JSCSJSCS commentedGreat! Good Job.
Comment #7
slpkenney CreditAttribution: slpkenney commentedCan anyone explain to me how to use the login from http://www.victheme.com/blog/drupal-7-creating-horizontal-login-bar-with...
Comment #8
Jane_newbie CreditAttribution: Jane_newbie commentedI have a Drupal 7 site with the Marinelli theme and wanted to have a horizontal user login (or the equivalent functionality) placed discreetly in the footer section. As a noob, I tried to find a solution that didn't involve coding. Here's my solution:
I created a block with two words in the body - "login" and "logout" and linked the "login" text to www.mysite.com/user/login and linked the "logout" to www.mysite.com/?q=user/logout
I put this block into the footer section.
This gave me the functionality I wanted; also, it solved an additional problem that many others seem to be having - that once logged in, there is no logout button. (Administrators can logout from the Dashboard overlay, but this isn't available for other users.)
Other folks are having this logout button problem as well - see http://drupal.org/node/1102820